JP2021097545A - Motor control system - Google Patents

Motor control system Download PDF

Info

Publication number
JP2021097545A
JP2021097545A JP2019228762A JP2019228762A JP2021097545A JP 2021097545 A JP2021097545 A JP 2021097545A JP 2019228762 A JP2019228762 A JP 2019228762A JP 2019228762 A JP2019228762 A JP 2019228762A JP 2021097545 A JP2021097545 A JP 2021097545A
Authority
JP
Japan
Prior art keywords
unit
monitoring
motor
data
trigger condition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019228762A
Other languages
Japanese (ja)
Other versions
JP7194099B2 (en
Inventor
賢治 武田
Kenji Takeda
賢治 武田
雄介 上井
Yusuke Uei
雄介 上井
英人 高田
Hideto Takada
英人 高田
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 JP2019228762A priority Critical patent/JP7194099B2/en
Publication of JP2021097545A publication Critical patent/JP2021097545A/en
Application granted granted Critical
Publication of JP7194099B2 publication Critical patent/JP7194099B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

To provide a motor control system that allows a user to set an appropriate trigger condition.SOLUTION: A data selection unit 103 in a servo amplifier 1 selects a monitoring data set that satisfies a trigger condition from the monitoring data sets consisting of monitoring data of N monitoring parameters acquired by a monitoring unit 37, and stores the monitoring data set in a memory 30 as trace data TD. A display control unit 606 in an information processing device 6 determines M monitoring parameters out of N in response to a user command, and displays, on a display unit 609, a certain characteristic diagram SP in which the trace data TD is displayed on a graph having M corresponding axes. A trigger condition setting unit 607 causes a user to select a range of M axes as the next trigger condition TC in the state where the characteristic diagram SP is displayed on the display unit 609.SELECTED DRAWING: Figure 2

Description

本発明は、モータ制御システムに関し、例えば、モータの動作状態や制御状態等を監視する技術に関する。 The present invention relates to a motor control system, for example, a technique for monitoring an operating state, a control state, and the like of a motor.

特許文献1には、トリガ条件としてモータの速度やトルク等の指令値あるいは実測値を用い、例えば、所定の閾値を超えた場合にトリガ条件を満たしたと判定し、そのトリガ時刻の前後の動作データに対するトレース(例えば動作波形の再現)を実行するモータ制御システムが示される。 In Patent Document 1, command values or actually measured values such as motor speed and torque are used as trigger conditions. For example, when a predetermined threshold value is exceeded, it is determined that the trigger condition is satisfied, and operation data before and after the trigger time is determined. A motor control system is shown that performs a trace (eg, reproduction of the operating waveform) against.

特開2017−169288号公報JP-A-2017-169288

特許文献1の方式は、トリガ条件が既知かつ適正である場合には有効であるが、トリガ条件が未知または不適正である場合には、様々な問題が生じ得る。具体例として、例えば、トリガ条件として低過ぎるモータ速度が設定された場合、本来必要なトレース対象期間の他に、本来不必要な期間もトレース対象期間とみなされる恐れがある。その結果、多くの動作データ(トレースデータ)を保存するため多くのメモリ容量が必要となる、または、本来必要なトレース対象期間を抽出するのに多くの労力が必要となる、あるいは、メモリ容量の制約によって本来必要なトレースデータを取得できない等の事態が生じ得る。 The method of Patent Document 1 is effective when the trigger condition is known and appropriate, but various problems may occur when the trigger condition is unknown or inappropriate. As a specific example, for example, when a motor speed that is too low is set as a trigger condition, a period that is originally unnecessary may be regarded as a trace target period in addition to the originally required trace target period. As a result, a large amount of memory is required to store a large amount of operation data (trace data), or a large amount of effort is required to extract the originally required trace target period, or the memory capacity is increased. Due to restrictions, situations such as not being able to acquire the originally required trace data may occur.

本発明は上記課題に鑑みてなされたものであり、その目的の一つは、ユーザに適正なトリガ条件を設定させることが可能なモータ制御システムを提供することにある。 The present invention has been made in view of the above problems, and one of the objects thereof is to provide a motor control system capable of setting an appropriate trigger condition by a user.

本発明の前記並びにその他の目的と新規な特徴は、本明細書の記述及び添付図面から明らかになるであろう。 The above and other objects and novel features of the present invention will become apparent from the description and accompanying drawings herein.

本願において開示される実施の形態のうち代表的なものの概要を簡単に説明すれば下記の通りである。 A brief overview of typical embodiments disclosed in the present application is as follows.

本発明の代表的な実施の形態によるモータ制御システムは、モータと、モータを制御するモータ制御装置とを有するものであり、監視部と、メモリと、データ選択部と、表示部と、表示制御部と、トリガ条件設定部とを有する。監視部は、モータまたはモータ制御装置から得られるN個(Nは2以上の整数)の監視パラメータを監視し、N個の監視パラメータの監視データからなる監視データセットを監視周期毎に取得する。データ選択部は、監視部で取得された監視データセットの中からトリガ条件を満たす監視データセットを選択し、当該選択した監視データセットをトレースデータとしてメモリに格納する。表示制御部は、ユーザの命令に応じてN個の監視パラメータの中からM個(Mは2以上かつN以下の整数)の監視パラメータを定め、M個の監視パラメータに対応するM個の軸を有するグラフ上にトレースデータを表示したものである特性図を作成し、特性図を表示部に表示させる。トリガ条件設定部は、特性図を表示部に表示させた状態で、特性図におけるM個の軸の範囲をトリガ条件としてユーザに選択させる。 A motor control system according to a typical embodiment of the present invention includes a motor and a motor control device for controlling the motor, and includes a monitoring unit, a memory, a data selection unit, a display unit, and display control. It has a unit and a trigger condition setting unit. The monitoring unit monitors N monitoring parameters (N is an integer of 2 or more) obtained from the motor or the motor control device, and acquires a monitoring data set consisting of monitoring data of N monitoring parameters for each monitoring cycle. The data selection unit selects a monitoring data set that satisfies the trigger condition from the monitoring data sets acquired by the monitoring unit, and stores the selected monitoring data set in the memory as trace data. The display control unit determines M monitoring parameters (M is an integer of 2 or more and N or less) from N monitoring parameters according to the user's command, and M axes corresponding to the M monitoring parameters. A characteristic diagram is created in which the trace data is displayed on the graph having the above, and the characteristic diagram is displayed on the display unit. The trigger condition setting unit causes the user to select a range of M axes in the characteristic diagram as a trigger condition in a state where the characteristic diagram is displayed on the display unit.

本願において開示される発明のうち、代表的な実施の形態によって得られる効果を簡単に説明すると、ユーザに適正なトリガ条件を設定させることが可能になる。 Briefly explaining the effects obtained by the typical embodiments of the inventions disclosed in the present application, it becomes possible for the user to set an appropriate trigger condition.

本発明の実施の形態1によるモータ制御システムの構成例を示す概略図である。It is the schematic which shows the structural example of the motor control system according to Embodiment 1 of this invention. 図1Aにおけるサーボアンプ内のモータ制御部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the motor control part in the servo amplifier in FIG. 1A. 図1Aのモータ制御システムにおいて、トレース機能を担う各部の主要部の構成例を示すブロック図である。FIG. 3 is a block diagram showing a configuration example of a main part of each part having a trace function in the motor control system of FIG. 1A. 図2におけるデータ選択部の動作例を示す模式図である。It is a schematic diagram which shows the operation example of the data selection part in FIG. 図2において、情報処理装置内の表示部の表示画面の一例を示す図である。FIG. 2 is a diagram showing an example of a display screen of a display unit in the information processing device. 図4におけるトリガ条件の設定方法の具体例を説明する図である。It is a figure explaining the specific example of the setting method of the trigger condition in FIG. 図5に対応するトリガ条件設定部の処理内容の一例を示すフロー図である。It is a flow chart which shows an example of the processing content of the trigger condition setting part corresponding to FIG. 図4におけるトリガ条件の設定方法の別の具体例を説明する図である。It is a figure explaining another specific example of the setting method of the trigger condition in FIG. 図4におけるトリガ条件の設定方法の更に別の具体例を説明する図である。It is a figure explaining still another specific example of the setting method of the trigger condition in FIG. 図8に対応するトリガ条件設定部の処理内容の一例を示すフロー図である。It is a flow chart which shows an example of the processing content of the trigger condition setting part corresponding to FIG. 図4とは異なる表示画面の一例を示す図である。It is a figure which shows an example of the display screen different from FIG. 図2におけるモデルデータ生成部の処理内容の一例を説明する図である。It is a figure explaining an example of the processing content of the model data generation part in FIG. 本発明の実施の形態2によるモータ制御システムにおいて、トレース機能を担う各部の主要部の構成例を示すブロック図である。It is a block diagram which shows the structural example of the main part of each part which bears a trace function in the motor control system according to Embodiment 2 of this invention. 図12の物理モデル入力部によって表示部に表示される表示画面の一例を示す図である。It is a figure which shows an example of the display screen which is displayed on the display part by the physical model input part of FIG. 図12における稼働マップ生成部によって生成される稼働マップの概要を説明する模式図である。It is a schematic diagram explaining the outline of the operation map generated by the operation map generation part in FIG. 図12における稼働マップ生成部の処理内容の一例を示すフロー図である。It is a flow chart which shows an example of the processing content of the operation map generation part in FIG.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。なお、実施の形態を説明するための全図において、同一の部材には原則として同一の符号を付し、その繰り返しの説明は省略する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In addition, in all the drawings for explaining the embodiment, in principle, the same members are designated by the same reference numerals, and the repeated description thereof will be omitted.

(実施の形態1)
《モータ制御システムの概略》
図1Aは、本発明の実施の形態1によるモータ制御システムの構成例を示す概略図である。図1Bは、図1Aにおけるサーボアンプ内のモータ制御部の構成例を示すブロック図である。図1Aに示すモータ制御システムは、モータ2と、モータ2を制御するサーボアンプ(モータ制御装置)1と、モータ負荷3と、上位コントローラ5と、情報処理装置6とを有する。モータ2は、サーボアンプ1からの電力を得て回転する。モータ負荷3は、モータ2によって駆動され、モータ2の回転運動により動力を得る。
(Embodiment 1)
<< Outline of motor control system >>
FIG. 1A is a schematic view showing a configuration example of a motor control system according to the first embodiment of the present invention. FIG. 1B is a block diagram showing a configuration example of a motor control unit in the servo amplifier in FIG. 1A. The motor control system shown in FIG. 1A includes a motor 2, a servo amplifier (motor control device) 1 that controls the motor 2, a motor load 3, a host controller 5, and an information processing device 6. The motor 2 rotates by receiving electric power from the servo amplifier 1. The motor load 3 is driven by the motor 2 and obtains power by the rotational movement of the motor 2.

上位コントローラ5は、サーボアンプ1を介してシステム全体を制御する。その一つとして、上位コントローラ5は、サーボアンプ1の動作に関する指令値をサーボアンプ1へ送信し、また、サーボアンプ1の稼働情報をモニタする。情報処理装置6は、ユーザによって操作されるPC(Personal Computer)等であり、サーボアンプ1や上位コントローラ5との間とでそれぞれ通信経路を備える。情報処理装置6は、例えば、各種ユーザインタフェース(ディスプレイ、キーボード、マウス等)を介して、サーボアンプ1の内部パラメータの更新や、サーボアンプ1の情報収集等を行う。 The host controller 5 controls the entire system via the servo amplifier 1. As one of them, the host controller 5 transmits a command value related to the operation of the servo amplifier 1 to the servo amplifier 1 and monitors the operation information of the servo amplifier 1. The information processing device 6 is a PC (Personal Computer) or the like operated by a user, and has a communication path between the servo amplifier 1 and the host controller 5, respectively. The information processing device 6 updates the internal parameters of the servo amplifier 1 and collects information on the servo amplifier 1 via various user interfaces (display, keyboard, mouse, etc.), for example.

サーボアンプ1は、例えば、商用交流電力等を発生する電源8とモータ2との間で電力変換を行う交流/直流変換器11およびインバータ12と、マイクロコントローラ(MCU)32と、各種記憶部とを備える。各種記憶部には、メモリ(RAM)30と、フラッシュメモリ等の不揮発性メモリ(NVM)31と、バッファメモリ33とが含まれる。なお、各種記憶部(30,31,33)の一部または全ては、マイクロコントローラ32内に搭載されてもよい。 The servo amplifier 1 includes, for example, an AC / DC converter 11 and an inverter 12 that perform power conversion between a power source 8 that generates commercial AC power and the like and a motor 2, a microcontroller (MCU) 32, and various storage units. To be equipped. The various storage units include a memory (RAM) 30, a non-volatile memory (NVM) 31 such as a flash memory, and a buffer memory 33. A part or all of the various storage units (30, 31, 33) may be mounted in the microcontroller 32.

交流/直流変換器11は、電源8から交流ケーブルを介して入力された交流電力を直流電力に変換し、インバータ12へ供給する。インバータ12は、例えば、MOSFET(Metal Oxide Semiconductor Field Effect Transistor)、IGBT(Insulated Gate Bipolar Transistor)等のスイッチング素子からなる3相フルブリッジ変換回路を有する。インバータ12は、入力された直流電力をスイッチング素子のスイッチングによって交流電力へ変換し、モータ2へ交流電力を供給する。 The AC / DC converter 11 converts the AC power input from the power supply 8 via the AC cable into DC power and supplies it to the inverter 12. The inverter 12 has, for example, a three-phase full bridge conversion circuit including switching elements such as a MOSFET (Metal Oxide Semiconductor Field Effect Transistor) and an IGBT (Insulated Gate Bipolar Transistor). The inverter 12 converts the input DC power into AC power by switching the switching element, and supplies AC power to the motor 2.

マイクロコントローラ32は、トレース制御部35と、モータ制御部36と、監視部37とを備える。トレース制御部35およびモータ制御部36は、主に、CPU(Central Processing Unit)を用いたプログラム処理等によって実装される。ただし、実装形態は、このようなソフトウェアに限らず、例えば、FPGA(Field Programmable Gate Array)やASIC(Application Specific Integrated Circuit)等のハードウェアであってもよく、または、ソフトウェアとハードウェアの組み合わせであってもよい。また、トレース制御部35およびモータ制御部36は、それぞれ異なるマイクロコントローラに実装されてもよい。監視部37は、例えば、アナログディジタル変換器とCPUを用いたプログラム処理との組み合わせ等によって実装される。 The microcontroller 32 includes a trace control unit 35, a motor control unit 36, and a monitoring unit 37. The trace control unit 35 and the motor control unit 36 are mainly implemented by program processing or the like using a CPU (Central Processing Unit). However, the implementation form is not limited to such software, and may be hardware such as FPGA (Field Programmable Gate Array) or ASIC (Application Specific Integrated Circuit), or a combination of software and hardware. There may be. Further, the trace control unit 35 and the motor control unit 36 may be mounted on different microcontrollers. The monitoring unit 37 is implemented by, for example, a combination of an analog-digital converter and program processing using a CPU.

ここで、インバータ12からモータ2への交流電力の供給経路上には、3相(u相、v相、w相)の相電流Iu,Iv,Iwを検出する電流検出器13が設けられる。モータ制御部36には、当該電流検出器13からの相電流Iu,Iv,Iwの検出値と、モータ2に付属するエンコーダ4Aからの位置情報Pmまたはモータ負荷3に設置されたエンコーダ4Bからの位置情報Paと、上位コントローラ5からの各種指令値とが入力される。モータ制御部36は、これらの入力を受けて、図1Bに示されるような構成によって、インバータ36を介してモータ2の回転を制御する。 Here, a current detector 13 for detecting three-phase (u-phase, v-phase, w-phase) phase currents Iu, Iv, and Iw is provided on the AC power supply path from the inverter 12 to the motor 2. The motor control unit 36 receives the detection values of the phase currents Iu, Iv, and Iw from the current detector 13 and the position information Pm from the encoder 4A attached to the motor 2 or the encoder 4B installed on the motor load 3. The position information Pa and various command values from the host controller 5 are input. The motor control unit 36 receives these inputs and controls the rotation of the motor 2 via the inverter 36 by the configuration as shown in FIG. 1B.

図1Bにおいて、エンコーダ通信部40は、エンコーダ4A,4Bとの間で問い合わせおよび応答を通信しながら、モータ位置検出値PFBを得る。また、上位コントローラ通信部46は、上位コントローラ5からのモータ位置指令値Pを受信する。モータ制御部36は、モータ位置指令値Pとモータ位置検出値PFBとの誤差値を演算し、当該誤差値を位置制御器(APR)41へ出力する。位置制御器41は、例えば、比例・積分制御(PI制御)等を用いて、入力された誤差値を0に近づけるような操作量をモータ速度指令値ωとして算出する。 In FIG. 1B, the encoder communication unit 40 obtains the motor position detection value PFB while communicating inquiries and responses with the encoders 4A and 4B. Further, the host controller communication unit 46 receives the motor position command value P * from the host controller 5. The motor control unit 36 calculates an error value between the motor position command value P * and the motor position detection value PFB, and outputs the error value to the position controller (APR) 41. The position controller 41 uses, for example, proportional / integral control (PI control) or the like to calculate an operation amount that brings the input error value close to 0 as the motor speed command value ω * .

また、モータ制御部36は、モータ位置検出値PFBを単位時間当たりの偏差すなわち微分値を求める形でモータ速度検出値ωFBに変換する。モータ制御部36は、位置制御器41からのモータ速度指令値ωと当該モータ速度検出値ωFBとの誤差値を演算し、当該誤差値を速度制御器(ASR)42へ出力する。あるいは、上位コントローラ通信部46は、上位コントローラ5からのモータ速度指令値ω**を受信する。モータ制御部36は、当該モータ速度指令値ω**とモータ速度検出値ωFBとの誤差値を演算し、当該誤差値を速度制御器42へ出力する。速度制御器42は、いずれかの方法で入力された誤差値を0に近づけるような操作量を、例えば、比例・積分制御(PI制御)等を用いて算出し、当該操作量を電流指令値Iとして出力する。 Further, the motor control unit 36 converts the motor position detection value P FB into the motor speed detection value ω FB in the form of obtaining the deviation per unit time, that is, the differential value. The motor control unit 36 calculates an error value between the motor speed command value ω * from the position controller 41 and the motor speed detection value ω FB, and outputs the error value to the speed controller (ASR) 42. Alternatively, the host controller communication unit 46 receives the motor speed command value ω ** from the host controller 5. The motor control unit 36 calculates an error value between the motor speed command value ω ** and the motor speed detection value ω FB, and outputs the error value to the speed controller 42. The speed controller 42 calculates a manipulated variable that brings the error value input by either method closer to 0, using, for example, proportional / integral control (PI control), and calculates the manipulated variable as a current command value. Output as I *.

電流制御器(ACR)43は、電流検出器13からの相電流Iu,Iv,Iwの検出値に基づいてモータ2の電気角および3相電流の実効電流値IFBを推定する。そして、電流制御器43は、当該実効電流値IFBと速度制御器42からの電流指令値Iとの誤差値を0に近づけるような操作量Fmを算出する。また、電流制御器43は、操作量Fmを、推定したモータ2の電気角を用いて3相の正弦波信号に変換したのちパルス幅変調器45に出力する。 The current controller (ACR) 43 estimates the electric angle of the motor 2 and the effective current value IFB of the three-phase current based on the detected values of the phase currents Iu, Iv, and Iw from the current detector 13. Then, the current controller 43 calculates an operation amount Fm that brings the error value between the effective current value I FB and the current command value I * from the speed controller 42 close to zero. Further, the current controller 43 converts the manipulated variable Fm into a three-phase sine wave signal using the estimated electric angle of the motor 2, and then outputs it to the pulse width modulator 45.

パルス幅変調器45は、電流制御器43からの3相の正弦波信号と、キャリア生成器44から出力される搬送波Fcとを比較することで、3相のPWM(Pulse Width Modulation)信号PWMu,PWMv,PWMwを出力する。図1Aのインバータ12は、この3相のPWM信号PWMu,PWMv,PWMwに基づいて3相のスイッチング素子をスイッチングすることで直流電力を交流電力に変換した上でモータ2へ供給する。なお、サーボアンプ1では、主に当該スイッチング素子のスイッチングに起因して、電力損失による発熱が生じる。このため、サーボアンプ1は、図1Aに示されるように、冷却を促すためのファン17を有してもよい。 The pulse width modulator 45 compares the three-phase sinusoidal signal from the current controller 43 with the carrier Fc output from the carrier generator 44 to compare the three-phase PWM (Pulse Width Modulation) signal PWMu, Outputs PWMv and PWMw. The inverter 12 of FIG. 1A converts DC power into AC power by switching the three-phase switching elements based on the three-phase PWM signals PWMu, PWMv, and PWMw, and then supplies the DC power to the motor 2. In the servo amplifier 1, heat is generated due to power loss mainly due to the switching of the switching element. Therefore, the servo amplifier 1 may have a fan 17 for promoting cooling, as shown in FIG. 1A.

また、図1Aの例では、モータ2に回転軸角度を検出するエンコーダ4Aが設置されることに加えて、モータ負荷3にもエンコーダ4Bが設置される。例えば、モータ負荷3が、ギアやプーリなどの部品を用いた動力変換機構であった場合、部品間の遊びや動力伝達用シャフトの物性変化などに起因して、モータ2の位置とモータ負荷3の位置との対応関係に誤差が生じる恐れがある。このため、モータ負荷3にもエンコーダ4Bを設置し、その位置情報Paをサーボアンプ1へフィードバックすることが望ましい。これにより、モータ負荷3の位置を高精度に制御することが可能になる。 Further, in the example of FIG. 1A, in addition to the encoder 4A for detecting the rotation axis angle being installed in the motor 2, the encoder 4B is also installed in the motor load 3. For example, when the motor load 3 is a power conversion mechanism using parts such as gears and pulleys, the position of the motor 2 and the motor load 3 are caused by play between the parts and changes in the physical properties of the power transmission shaft. There is a risk that an error will occur in the correspondence with the position of. Therefore, it is desirable to install the encoder 4B also on the motor load 3 and feed back the position information Pa to the servo amplifier 1. This makes it possible to control the position of the motor load 3 with high accuracy.

ここで、モータ位置検出値PFB、モータ速度検出値ωFB、相電流Iu,Iv,Iwの検出値(または実効電流値IFB)、または、これらに対応する各指令値(P,ω,I)を代表に、サーボアンプ(モータ制御装置)1またはモータ2からは、様々なパラメータが得られる。パラメータの他の例として、交流/直流変換器11の入力電圧検出値Vac、出力電圧検出値Vdcおよび出力電流検出値Idcや、インバータ12の温度検出値Tmや、ファン17のファン回転数RFAN等も挙げられる。入力電圧検出値Vacは、電圧センサ18によって取得され、出力電圧検出値Vdcおよび出力電流検出値Idcは、電圧センサ14および電流センサ15によってそれぞれ取得され、温度検出値Tmは、インバータ12に設置された温度センサ16によって取得される。 Here, the motor position detection value P FB , the motor speed detection value ω FB , the detection values of the phase currents Iu, Iv, Iw (or the effective current value I FB ), or the corresponding command values (P * , ω). Various parameters can be obtained from the servo amplifier (motor control device) 1 or the motor 2 as represented by * , I *). Other examples of parameters include the input voltage detection value Vac of the AC / DC converter 11, the output voltage detection value Vdc and the output current detection value Idc, the temperature detection value Tm of the inverter 12, and the fan rotation speed R FAN of the fan 17. And so on. The input voltage detection value Vac is acquired by the voltage sensor 18, the output voltage detection value Vdc and the output current detection value Idc are acquired by the voltage sensor 14 and the current sensor 15, respectively, and the temperature detection value Tm is installed in the inverter 12. It is acquired by the temperature sensor 16.

マイクロコントローラ32内の監視部37は、これらのパラメータの中の予め定められたN個(すなわち一部または全て)を監視し、当該N個の監視パラメータの監視データからなる監視データセットDSを監視周期毎に取得する。そして、監視部37は、取得した監視データセットDSを、取得した監視周期の情報(すなわち取得時刻)と共にバッファメモリ33に格納する。監視周期は、例えば、モータ制御部36の制御周期や、監視部37を構成するアナログディジタル変換器のサンプリング周期等に基づいて定められる。バッファメモリ33は、少なくとも、1回の監視周期で取得された監視データセットDSを保持できるだけのメモリ容量があればよい。 The monitoring unit 37 in the microcontroller 32 monitors N predetermined (that is, a part or all) of these parameters, and monitors the monitoring data set DS composed of the monitoring data of the N monitoring parameters. Obtained every cycle. Then, the monitoring unit 37 stores the acquired monitoring data set DS in the buffer memory 33 together with the acquired monitoring cycle information (that is, the acquisition time). The monitoring cycle is determined based on, for example, the control cycle of the motor control unit 36, the sampling cycle of the analog-digital converter constituting the monitoring unit 37, and the like. The buffer memory 33 may have at least a memory capacity capable of holding the monitoring data set DS acquired in one monitoring cycle.

トレース制御部35は、詳細は後述するが、この監視部37で取得された監視データセットDSの中からトリガ条件を満たす監視データセットDSを選択してメモリ(RAM)30に格納する。言い換えれば、トレース制御部35は、バッファメモリ33に保持された監視データセットDSがトリガ条件を満たす場合には、当該監視データセットDSをメモリ(RAM)30に格納する。一方、トリガ条件を満たさない監視データセットDSは、バッファメモリ33のオーバーフローによって消去される。明細書では、このメモリ(RAM)30に格納されたN個の監視データからなる監視データセットDSをトレースデータとも呼ぶ。 Although the details will be described later, the trace control unit 35 selects a monitoring data set DS that satisfies the trigger condition from the monitoring data set DS acquired by the monitoring unit 37 and stores it in the memory (RAM) 30. In other words, the trace control unit 35 stores the monitoring data set DS in the memory (RAM) 30 when the monitoring data set DS held in the buffer memory 33 satisfies the trigger condition. On the other hand, the monitoring data set DS that does not satisfy the trigger condition is erased by the overflow of the buffer memory 33. In the specification, the monitoring data set DS composed of N monitoring data stored in the memory (RAM) 30 is also referred to as trace data.

不揮発性メモリ(NVM)31には、適宜、メモリ(RAM)30内のトレースデータや、または、マイクロコントローラ32における演算過程の各種データ等が退避される。これにより、サーボアンプ1の電源8が遮断された後であっても、メモリ30内のトレースデータや、マイクロコントローラ32の各種データを参照することができる。 The non-volatile memory (NVM) 31 appropriately saves trace data in the memory (RAM) 30, various data in the calculation process in the microcontroller 32, and the like. As a result, the trace data in the memory 30 and various data of the microcontroller 32 can be referred to even after the power supply 8 of the servo amplifier 1 is cut off.

例えば、情報処理装置6は、サーボアンプ1との間の通信経路を介してサーボアンプ1内の不揮発性メモリ31の記録情報を直接的に読み出すことができる。または、情報処理装置6は、上位コントローラ5との間の通信経路を介してサーボアンプ1内の不揮発性メモリ31の記録情報を間接的に読み出すことができる。これらの通信経路は、有線通信および無線通信を問わず任意の通信規格に基づくものであってよく、代表的には、USB(Universal Serial Bus)やRS−485等の産業用通信規格に準拠したものであってよい。 For example, the information processing device 6 can directly read the recorded information of the non-volatile memory 31 in the servo amplifier 1 via the communication path with the servo amplifier 1. Alternatively, the information processing device 6 can indirectly read the recorded information of the non-volatile memory 31 in the servo amplifier 1 via the communication path with the host controller 5. These communication paths may be based on any communication standard regardless of wired communication or wireless communication, and typically conform to industrial communication standards such as USB (Universal Serial Bus) and RS-485. It may be a thing.

また、上位コントローラ5および情報情報装置6は、それぞれ、有線ルータや、またはWi−Fi(登録商標)やBluetooth(登録商標)等の機能を備えた無線ルータ72を介して広域通信ネットワーク網70へ接続可能である。この場合、上位コントローラ5および情報情報装置6は、広域通信ネットワーク網70を介して、遠隔拠点に設置されたデータサーバ(クラウド)71、携帯型のタブレット端末73等と相互に通信することできる。 Further, the host controller 5 and the information information device 6 are connected to the wide area communication network 70 via a wired router or a wireless router 72 having functions such as Wi-Fi (registered trademark) and Bluetooth (registered trademark), respectively. It is possible to connect. In this case, the host controller 5 and the information information device 6 can communicate with each other via the wide area communication network 70 to the data server (cloud) 71 installed at the remote location, the portable tablet terminal 73, and the like.

《トレース機能の詳細》
図2は、図1Aのモータ制御システムにおいて、トレース機能を担う各部の主要部の構成例を示すブロック図である。図2には、図1Aのモータ制御システムにおけるサーボアンプ(モータ制御装置)1、上位コントローラ5、情報処理装置6およびデータサーバ(クラウド)71が示される。これらの各部は、互いにデータを授受しながらトレース機能(例えば動作波形の再現等)を実現する。この際に、各部は、必要時に必要な箇所との間でデータを授受することでトレース機能を実現することができるため、全てが常時接続される必要はない。
<< Details of trace function >>
FIG. 2 is a block diagram showing a configuration example of a main part of each part having a trace function in the motor control system of FIG. 1A. FIG. 2 shows a servo amplifier (motor control device) 1, a host controller 5, an information processing device 6, and a data server (cloud) 71 in the motor control system of FIG. 1A. Each of these parts realizes a tracing function (for example, reproduction of an operating waveform) while exchanging data with each other. At this time, since each part can realize the trace function by exchanging data with the necessary part when necessary, it is not necessary to connect all of them at all times.

サーボアンプ1は、図1Aに示した監視部37、バッファメモリ33およびメモリ(RAM)30に加えて、図1Aのトレース制御部35に含まれる監視条件設定部102、データ選択部103、モデルデータ生成部104、相関算出部105、および不揮発領域退避部106を備える。上位コントローラ5は、記憶部530およびモデルデータ生成部504を備える。 In addition to the monitoring unit 37, the buffer memory 33, and the memory (RAM) 30 shown in FIG. 1A, the servo amplifier 1 includes a monitoring condition setting unit 102, a data selection unit 103, and model data included in the trace control unit 35 of FIG. 1A. It includes a generation unit 104, a correlation calculation unit 105, and a non-volatile region evacuation unit 106. The host controller 5 includes a storage unit 530 and a model data generation unit 504.

情報処理装置6は、記憶部630、モデルデータ生成部604、表示制御部606、表示部609、トリガ条件設定部607、およびデータファイル保存部608を備える。データサーバ71は、記憶部730、モデルデータ生成部704、およびソフトウェア更新部709を備える。以下、これらを用いて実現されるトレース機能の各種詳細について説明する。 The information processing device 6 includes a storage unit 630, a model data generation unit 604, a display control unit 606, a display unit 609, a trigger condition setting unit 607, and a data file storage unit 608. The data server 71 includes a storage unit 730, a model data generation unit 704, and a software update unit 709. Hereinafter, various details of the trace function realized by using these will be described.

《トリガ条件設定機能およびトレース結果表示機能》
図2のサーボアンプ1において、監視条件設定部102は、例えば、監視部37に対して監視条件MCを設定する。監視条件MCには、例えば、監視周期、監視期間、計測レンジ等が含まれる。この例では、監視条件MCとして、予め定めた初期監視条件が用いられる。監視部37は、監視条件設定部102からの監視条件MCに基づいて、前述したようにモータ2またはサーボアンプ1から得られるN個の監視パラメータを監視し、当該N個の監視パラメータの監視データDを監視データセットDSとして取得する。
<< Trigger condition setting function and trace result display function >>
In the servo amplifier 1 of FIG. 2, the monitoring condition setting unit 102 sets the monitoring condition MC for the monitoring unit 37, for example. The monitoring condition MC includes, for example, a monitoring cycle, a monitoring period, a measurement range, and the like. In this example, a predetermined initial monitoring condition is used as the monitoring condition MC. The monitoring unit 37 monitors N monitoring parameters obtained from the motor 2 or the servo amplifier 1 as described above based on the monitoring condition MC from the monitoring condition setting unit 102, and the monitoring data of the N monitoring parameters. Acquire D as the monitoring data set DS.

この際に、監視データセットDSは、設定された監視期間の中で設定された監視周期毎に取得される。例えば、監視部37がアナログディジタル変換器(ADC)を含む場合、監視期間は、ADCのイネーブル期間に相当し、監視周期は、ADCのサンプリング周期に相当する。また、監視条件MC内の計測レンジは、ADCの入力レンジに相当する。監視部37は、このようにして取得した監視データセットDSを、逐次、バッファメモリ33に格納する。 At this time, the monitoring data set DS is acquired at each monitoring cycle set within the set monitoring period. For example, when the monitoring unit 37 includes an analog-to-digital converter (ADC), the monitoring period corresponds to the enable period of the ADC, and the monitoring cycle corresponds to the sampling cycle of the ADC. Further, the measurement range in the monitoring condition MC corresponds to the input range of the ADC. The monitoring unit 37 sequentially stores the monitoring data set DS acquired in this way in the buffer memory 33.

データ選択部103は、監視部37で取得された監視データセットDS(N個の監視データD)の中からトリガ条件TCを満たす監視データセットDSを選択してメモリ(RAM)30に格納する。言い換えれば、データ選択部103は、バッファメモリ33に格納された監視データセットDSがトリガ条件TCを満たすか否かを判別し、トリガ条件TCを満たす場合には当該監視データセットDSをメモリ30に格納する。 The data selection unit 103 selects a monitoring data set DS that satisfies the trigger condition TC from the monitoring data set DS (N monitoring data D) acquired by the monitoring unit 37, and stores it in the memory (RAM) 30. In other words, the data selection unit 103 determines whether or not the monitoring data set DS stored in the buffer memory 33 satisfies the trigger condition TC, and if the trigger condition TC is satisfied, the monitoring data set DS is stored in the memory 30. Store.

図3は、図2におけるデータ選択部の動作例を示す模式図である。図3には、監視部37によって取得されるN個の監視データD1〜Dnが時刻tに応じて変化する様子の一例が示される。N個の監視データD1〜Dnは、監視データセットDSを構成する。ここで、図3の例では、監視データD1に対するトリガ条件TC1として、所定の範囲が定められ、監視データD2に対するトリガ条件TC2として所定の範囲が定められている。 FIG. 3 is a schematic diagram showing an operation example of the data selection unit in FIG. FIG. 3 shows an example of how the N monitoring data D1 to Dn acquired by the monitoring unit 37 change according to the time t. The N monitoring data D1 to Dn constitute the monitoring data set DS. Here, in the example of FIG. 3, a predetermined range is defined as the trigger condition TC1 for the monitoring data D1, and a predetermined range is defined as the trigger condition TC2 for the monitoring data D2.

データ選択部103は、各時刻t(各監視周期)で取得された監視データセットDS(N個の監視データD1〜Dn)に対して、トリガ条件が設定されたM個(ここでは2個)の監視パラメータの監視データD1,D2がそれぞれトリガ条件TC1,TC2の範囲内に存在するか否かを判別する。具体的には、データ選択部103は、監視データD1がトリガ条件TC1の範囲内に存在し、なおかつ、監視データD2がトリガ条件TC2の範囲内に存在するか否かを判別する。 The data selection unit 103 has M (here, 2) in which trigger conditions are set for the monitoring data set DS (N monitoring data D1 to Dn) acquired at each time t (each monitoring cycle). It is determined whether or not the monitoring data D1 and D2 of the monitoring parameters of the above are within the range of the trigger conditions TC1 and TC2, respectively. Specifically, the data selection unit 103 determines whether or not the monitoring data D1 exists within the range of the trigger condition TC1 and the monitoring data D2 exists within the range of the trigger condition TC2.

そして、データ選択部103は、図3に示されるように、トリガ条件TC1,TC2の範囲内に存在すると判別した監視データセットDSを選択してメモリ(RAM)30に格納する。一方、トリガ条件TC1,TC2の範囲内に存在しないと判別された監視データセットDSは、メモリ(RAM)30に格納されず、結果的に、図2のバッファメモリ33からオーバーフローする形で消去される。そして、メモリ(RAM)30に格納された各監視データセットDSが、トレースデータTDとなる。 Then, as shown in FIG. 3, the data selection unit 103 selects the monitoring data set DS determined to exist within the range of the trigger conditions TC1 and TC2 and stores it in the memory (RAM) 30. On the other hand, the monitoring data set DS determined not to exist within the range of the trigger conditions TC1 and TC2 is not stored in the memory (RAM) 30, and as a result, is erased in the form of overflowing from the buffer memory 33 of FIG. To. Then, each monitoring data set DS stored in the memory (RAM) 30 becomes the trace data TD.

ここで、トリガ条件TC1,TC2が適正であるほど、メモリ30内に、本来必要なトレースデータTDのみを格納することが可能になる。すなわち、トリガ条件TC1,TC2が適正で無く、例えば、広すぎる場合には、メモリ30内に本来不必要なトレースデータTDも多く格納されることになる。この場合、メモリ30内から本来必要なトレースデータTDを抽出するのに多くの労力が必要となる事態や、メモリ容量に依存して、本来必要なトレースデータTDを取得できない事態(すなわち取りこぼし)等が生じ得る。また、トリガ条件TC1,TC2が狭すぎる場合には、本来必要なトレースデータTDを一部しか取得できない事態(すなわち取りこぼし)等が生じ得る。 Here, the more appropriate the trigger conditions TC1 and TC2 are, the more it becomes possible to store only the originally necessary trace data TD in the memory 30. That is, if the trigger conditions TC1 and TC2 are not appropriate, for example, if they are too wide, a large amount of trace data TD that is originally unnecessary will be stored in the memory 30. In this case, a situation in which a lot of labor is required to extract the originally required trace data TD from the memory 30, a situation in which the originally required trace data TD cannot be obtained depending on the memory capacity (that is, a missed case), etc. Can occur. Further, when the trigger conditions TC1 and TC2 are too narrow, a situation may occur in which only a part of the originally required trace data TD can be acquired (that is, the trace data is missed).

一方、ユーザは、例えば、モータ制御システムに何らかの不具合が生じた場合等で、何らかのトリガ条件を定めてトレース(動作波形の再現等)を行うことを試みる。この際には、前述したように、トリガ条件TCは適正であるほど望ましい。しかし、トリガ条件TCを適正化するため、ユーザは、従来、根拠となる情報が不足する状態で場当たり的に試行錯誤を繰り返す必要があった。そこで、以下に述べる実施の形態1のトリガ条件設定機能を用いることが有益となる。 On the other hand, the user attempts to perform tracing (reproduction of an operating waveform, etc.) by setting some trigger conditions, for example, when some trouble occurs in the motor control system. In this case, as described above, it is desirable that the trigger condition TC is appropriate. However, in order to optimize the trigger condition TC, the user has conventionally had to repeat trial and error on an ad hoc basis in a state where the underlying information is insufficient. Therefore, it is beneficial to use the trigger condition setting function of the first embodiment described below.

トリガ条件TCは、図2に示されるように、情報処理装置6を用いて設定される。情報処理装置6は、サーボアンプ1のメモリ(RAM)30(または図1Aの不揮発性メモリ(NVM)31)に格納されたトレースデータTDを、ハードディスクドライブやRAM等の記憶部630にコピーする。表示制御部606は、例えば、CPUを用いたプログラム処理によって、このトレースデータTD内の所定の監視データDを表示したものである特性図SPを作成し、当該特性図SPを表示部609に表示させる。表示部609は、例えば、液晶ディスプレイ等である。 The trigger condition TC is set by using the information processing device 6 as shown in FIG. The information processing device 6 copies the trace data TD stored in the memory (RAM) 30 (or the non-volatile memory (NVM) 31 of FIG. 1A) of the servo amplifier 1 to a storage unit 630 such as a hard disk drive or RAM. The display control unit 606 creates a characteristic diagram SP that displays predetermined monitoring data D in the trace data TD by, for example, a program process using a CPU, and displays the characteristic diagram SP on the display unit 609. Let me. The display unit 609 is, for example, a liquid crystal display or the like.

図4は、図2において、情報処理装置内の表示部の表示画面の一例を示す図である。図4に示す表示画面は、上端部にメニューバー部61、中段左にツリー表示状のプロジェクト表示部62、下端にメッセージ表示部64、中段右に波形表示部67を備える。メニューバー部61には、例えば横一列に「ファイル」「編集」「表示」「コンフィグレーション」「パラメータ」「モニタ」「オートトリガ」といった機能の総称を示す文字表示が設けられる。ユーザが、例えば、マウス操作によって、ポインタを各文字へ近接させた上でクリック押下など任意の入力を行うと、対応する機能画面への遷移、または機能ウィンドウのポップアップ表示等が行われる。 FIG. 4 is a diagram showing an example of a display screen of a display unit in the information processing apparatus in FIG. The display screen shown in FIG. 4 includes a menu bar section 61 at the upper end, a tree display-shaped project display section 62 at the left in the middle row, a message display section 64 at the lower end, and a waveform display section 67 at the right in the middle row. The menu bar unit 61 is provided with a character display indicating a generic name of functions such as "file", "edit", "display", "configuration", "parameter", "monitor", and "auto trigger" in a horizontal row, for example. When the user makes an arbitrary input such as clicking and pressing the pointer close to each character by operating the mouse, for example, the transition to the corresponding function screen or the pop-up display of the function window is performed.

プロジェクト表示部62は、メニューバー部61で選択した各機能に対応するプロジェクトファイルに関連付けられたデータ類を、その代表名称と共にツリー状に表示する。メッセージ表示部64は、画面ソフトウェアの演算進行状況、ユーザの次の操作を促すガイダンスなどを示すとよい。 The project display unit 62 displays data associated with the project file corresponding to each function selected in the menu bar unit 61 in a tree shape together with its representative name. The message display unit 64 may indicate the calculation progress status of the screen software, guidance for prompting the user to perform the next operation, and the like.

波形表示部67には、前述した表示制御部606によって作成された特性図SPが表示される。すなわち、表示制御部606は、まず、ユーザの命令に応じてN個の監視パラメータの中からM個(Mは2以上かつN以下の整数)の監視パラメータを定め、当該M個の監視パラメータに対応するM個の軸を有するグラフを作成する。この例では、モータ位置検出値PFBおよびモータの実効電流値IFBからなる2個の監視パラメータが定められ、モータ位置検出値PFBおよび実効電流値IFBは、それぞれ、X軸およびY軸に割り当てられる。 The waveform display unit 67 displays the characteristic diagram SP created by the display control unit 606 described above. That is, the display control unit 606 first determines M monitoring parameters (M is an integer of 2 or more and N or less) from the N monitoring parameters according to the user's command, and sets the M monitoring parameters as the M monitoring parameters. Create a graph with corresponding M axes. In this example, two monitoring parameters consisting of the motor position detection value P FB and the motor effective current value I FB are defined, and the motor position detection value P FB and the effective current value I FB are the X-axis and the Y-axis, respectively. Assigned to.

そして、表示制御部606は、当該グラフ上に、記憶部630(ひいてはメモリ30)に格納されたトレースデータTD内の対応する監視データを表示することで、トレース結果となる特性図SPを作成する。この例では、特性図SPとして、トレースデータTDを構成する監視データセットDS毎に、モータ位置検出値PFBと実効電流値IFBとの対応関係をプロットした図が作成される。特性図SPには、X軸Y軸に加え、適当なグリッド線や凡例が表示されてもよい。 Then, the display control unit 606 creates a characteristic diagram SP as a trace result by displaying the corresponding monitoring data in the trace data TD stored in the storage unit 630 (and thus the memory 30) on the graph. .. In this example, as the characteristic diagram SP, a diagram is created in which the correspondence between the motor position detection value PFB and the effective current value IFB is plotted for each monitoring data set DS constituting the trace data TD. In addition to the X-axis and Y-axis, appropriate grid lines and legends may be displayed on the characteristic diagram SP.

これにより、ユーザは、前回のトリガ条件TCに基づいて取得されたトレースデータTDを対象に、モータ位置検出値PFBと実効電流値IFBとの対応関係を視認することができる。また、ユーザは、グラフの軸に定める監視パラメータをN個の中から任意に選択できるため、モータ位置検出値PFBと実効電流値IFBとの対応関係に限らず、様々な観点での対応関係を視認することができる。さらに、ユーザは、グラフの軸の数を、2軸に限らず3軸等に定めることも可能である。 Thus, the user can subject the trace data TD obtained based on the previous trigger conditions TC, viewing the relationship between the motor position detection value P FB and effective current value I FB. In addition, since the user can arbitrarily select the monitoring parameters defined on the axis of the graph from N, the correspondence is not limited to the correspondence between the motor position detection value P FB and the effective current value I FB, but the correspondence from various viewpoints. The relationship can be visually recognized. Further, the user can set the number of axes of the graph not only to 2 axes but also to 3 axes and the like.

ここで、ユーザは、このような特性図SPを参照しながら、次回のトリガ条件TCを定めることができる。具体的には、図2のトリガ条件設定部607は、特性図SPを表示部609に表示させた状態で、当該特性図SPにおけるM個(ここでは2個)の軸の範囲をトリガ条件TCとしてユーザに選択させる。トリガ条件設定部607は、例えば、CPUを用いたプログラム処理等によって実装される。 Here, the user can determine the next trigger condition TC with reference to such a characteristic diagram SP. Specifically, the trigger condition setting unit 607 of FIG. 2 sets the range of M (here, 2) axes in the characteristic diagram SP in the state where the characteristic diagram SP is displayed on the display unit 609 as the trigger condition TC. Let the user select as. The trigger condition setting unit 607 is implemented by, for example, program processing using a CPU.

図4の例では、ユーザは、例えば、マウスのドラッグ操作等を用いて特性図SP内の任意の領域65(すなわち、次回、トレースしたい領域)を選択する。トリガ条件設定部607は、この領域65に対応する軸の範囲を検出する。トリガ条件設定部607は、領域65に対応する軸の範囲を検出すると、表示制御部606を介して表示部609を制御することで、波形表示部67にポップアップ画面66を表示させる。 In the example of FIG. 4, the user selects an arbitrary area 65 (that is, the area to be traced next time) in the characteristic diagram SP by using, for example, a mouse drag operation or the like. The trigger condition setting unit 607 detects the range of the axis corresponding to this region 65. When the trigger condition setting unit 607 detects the range of the axis corresponding to the area 65, the trigger condition setting unit 607 controls the display unit 609 via the display control unit 606 to cause the waveform display unit 67 to display the pop-up screen 66.

ポップアップ画面66には、トリガ条件設定部607によって検出された軸の範囲が表示され、これに加えて、「プロット参照」「適用」「取消」のボタンが設けられる。トリガ条件設定部607は、ユーザによって「適用」ボタンが押下された場合に、当該軸の範囲を次回のトリガ条件TCとして、図2のサーボアンプ1内のデータ選択部103に設定する。 On the pop-up screen 66, the range of the axis detected by the trigger condition setting unit 607 is displayed, and in addition to this, buttons for "plot reference", "apply", and "cancel" are provided. When the "Apply" button is pressed by the user, the trigger condition setting unit 607 sets the range of the axis as the next trigger condition TC in the data selection unit 103 in the servo amplifier 1 of FIG.

一方、「取消」ボタンが押下された場合、トリガ条件設定部607は、次回のトリガ条件TCを更新することなくポップアップ画面66を波形表示部67から消去する。「プロット参照」ボタンが押下された場合、トリガ条件設定部607は、ポップアップ画面66を表示したまま、領域65の再設定(すなわちユーザによる再度のドラッグ操作)を受け付ける。また、ポップアップ画面66は、トリガ条件の設定に関連する各種チェックボックスやラジオボタン等の入力機能を備えてもよい。 On the other hand, when the "Cancel" button is pressed, the trigger condition setting unit 607 deletes the pop-up screen 66 from the waveform display unit 67 without updating the next trigger condition TC. When the "Plot reference" button is pressed, the trigger condition setting unit 607 accepts the resetting of the area 65 (that is, the drag operation again by the user) while displaying the pop-up screen 66. Further, the pop-up screen 66 may be provided with input functions such as various check boxes and radio buttons related to the setting of the trigger condition.

図5は、図4におけるトリガ条件の設定方法の具体例を説明する図であり、図6は、図5に対応するトリガ条件設定部の処理内容の一例を示すフロー図である。図5において、トリガ条件設定部607は、ドラッグ操作の際のマウスのON時点でのグラフ上のXY座標(X,Y)と、マウスのOFF時点でのXY座標(X,Y)とを認識する。トリガ条件設定部607は、X〜Xの範囲を、対応する監視パラメータ(例えばモータ位置検出値PFB)のトリガ条件TCに定め、かつ、Y〜Yの範囲を、対応する監視パラメータ(例えば実効電流値IFB)のトリガ条件TCに定める。 FIG. 5 is a diagram for explaining a specific example of the method for setting the trigger condition in FIG. 4, and FIG. 6 is a flow chart showing an example of the processing content of the trigger condition setting unit corresponding to FIG. In FIG. 5, the trigger condition setting unit 607 has XY coordinates (X 1 , Y 1 ) on the graph when the mouse is turned on during the drag operation and XY coordinates (X 2 , Y 2 ) when the mouse is turned off. ) And. The trigger condition setting unit 607 defines the range of X 1 to X 2 as the trigger condition TC of the corresponding monitoring parameter (for example, the motor position detection value PFB ), and sets the range of Y 1 to Y 2 as the corresponding monitoring. It is defined in the trigger condition TC of the parameter (for example, effective current value I FB).

図6において、トリガ条件設定部607は、メッセージ表示部64に初期メッセージを表示し(ステップS1)、ユーザに領域65を入力される(ステップS2)。続いて、トリガ条件設定部607は、入力された領域65の最大・最小座標を演算し(ステップS3)、当該演算結果に基づいてポップアップ画面66に表示する数値を更新する(ステップS4)。その後、トリガ条件設定部607は、メッセージ表示部64に、更新した数値の適用可否をユーザに判断させるためのメッセージを表示する(ステップS5)。 In FIG. 6, the trigger condition setting unit 607 displays an initial message on the message display unit 64 (step S1), and the area 65 is input to the user (step S2). Subsequently, the trigger condition setting unit 607 calculates the maximum / minimum coordinates of the input area 65 (step S3), and updates the numerical value displayed on the pop-up screen 66 based on the calculation result (step S4). After that, the trigger condition setting unit 607 displays a message on the message display unit 64 for the user to determine whether or not the updated numerical value can be applied (step S5).

図7は、図4におけるトリガ条件の設定方法の別の具体例を説明する図である。図7において、トリガ条件設定部607は、前述したような2点のXY座標(X,Y),(X,Y)に基づいて2点間の距離rを求め、初期座標(X,Y)に対しX軸、Y軸共に±rの範囲に収まる領域を領域65に定める。 FIG. 7 is a diagram illustrating another specific example of the method of setting the trigger condition in FIG. In FIG. 7, the trigger condition setting unit 607 obtains the distance r between the two points based on the XY coordinates (X 1 , Y 1 ) and (X 2 , Y 2) of the two points as described above, and obtains the initial coordinates (X 1, Y 2). A region 65 is defined as a region within the range of ± r for both the X-axis and the Y-axis with respect to X 1 , Y 1).

図8は、図4におけるトリガ条件の設定方法の更に別の具体例を説明する図であり、図9は、図8に対応するトリガ条件設定部の処理内容の一例を示すフロー図である。図8には、複数座標を包絡する領域を領域65として指定する方法が示される。トリガ条件設定部607は、例えば「Ctrlキー」等の入力中におけるクリックを検知する毎にカーソル座標を(X,Y),…,(X,Y)と記録する。そして、トリガ条件設定部607は、X〜Xの中の最大値および最小値によってX軸の範囲を定め、Y〜Yの中の最大値および最小値によってY軸の範囲を定め、これらの範囲に基づいて領域65を定める。この場合のトリガ条件設定部607の処理内容は、図9に示されるように、ステップS2の中に「Ctrlキー」の確認が入ることを除いて図6の場合と同様である。 FIG. 8 is a diagram illustrating still another specific example of the method of setting the trigger condition in FIG. 4, and FIG. 9 is a flow diagram showing an example of the processing content of the trigger condition setting unit corresponding to FIG. FIG. 8 shows a method of designating a region surrounding a plurality of coordinates as a region 65. The trigger condition setting unit 607 records the cursor coordinates as (X 1 , Y 1 ), ..., (X n , Y n ) each time it detects a click during input of, for example, the "Ctrl key". Then, the trigger condition setting unit 607 determines the range of the X axis by the maximum value and the minimum value in X 1 to X n , and determines the range of the Y axis by the maximum value and the minimum value in Y 1 to Y n. , The area 65 is defined based on these ranges. The processing content of the trigger condition setting unit 607 in this case is the same as that in FIG. 6 except that the confirmation of the “Ctrl key” is entered in step S2 as shown in FIG.

なお、トリガ条件の設定方法は、これら3つの具体例に限らず、様々な方法を用いることが可能である。例えば、トリガ条件設定部607が図7に示した初期座標(X,Y)および距離rをデータ選択部103へ送信し、データ選択部103が座標(X、Y)を中心とした半径rの円領域とトリガ条件TCとして認識することも可能である。または、トリガ条件設定部607が図8のような複数の座標情報をデータ選択部103へ送信し、データ選択部103が線形補間した多角形領域をトリガ条件TCとして認識することも可能である。また、ユーザがキーボード操作を介してトリガ条件TCの範囲を直接的に数値入力できるように構成することも可能である。 The trigger condition setting method is not limited to these three specific examples, and various methods can be used. For example, the trigger condition setting unit 607 transmits the initial coordinates (X 1 , Y 1 ) and the distance r shown in FIG. 7 to the data selection unit 103, and the data selection unit 103 centers on the coordinates (X 1 , Y 1). It is also possible to recognize it as a circular region having a radius r and a trigger condition TC. Alternatively, the trigger condition setting unit 607 can transmit a plurality of coordinate information as shown in FIG. 8 to the data selection unit 103, and the data selection unit 103 can recognize the linearly interpolated polygonal region as the trigger condition TC. It is also possible to configure the user to directly input a numerical value in the range of the trigger condition TC via keyboard operation.

以上のようなモータ制御システムを用いることで、ユーザは、任意の監視パラメータを軸とする特性図SPを視認しながら、当該特性図SPに基づいてトリガ条件TCを定めることができる。これにより、ユーザは、トリガ条件TCを定めるための有益な情報を特性図SPによって得ることができ、結果として、モータ制御システムは、ユーザに適正なトリガ条件TCを設定させることが可能になる。また、これにより、ユーザがトレース結果に基づいて各種解析を行う際の解析効率を高めること等が可能になる。 By using the motor control system as described above, the user can determine the trigger condition TC based on the characteristic diagram SP while visually recognizing the characteristic diagram SP centered on an arbitrary monitoring parameter. As a result, the user can obtain useful information for determining the trigger condition TC from the characteristic diagram SP, and as a result, the motor control system allows the user to set an appropriate trigger condition TC. Further, this makes it possible to improve the analysis efficiency when the user performs various analyzes based on the trace result.

具体例で説明すると、例えば、一般的なトレース結果として、時間軸上の電流値変化の波形等を得ることができる。ただし、この際に電流値に何らかの異常が有ったとしても、対応する時刻情報からその原因を突き止めるのは容易でない場合がある。一方、例えば、図4に示したように、モータ電流値とモータ位置との対応関係を観点にすると、ユーザは、異常の要因の一つにモータ位置が挙げられることを推察することができる。 Explaining with a specific example, for example, as a general trace result, a waveform of a current value change on the time axis can be obtained. However, even if there is some abnormality in the current value at this time, it may not be easy to find the cause from the corresponding time information. On the other hand, for example, as shown in FIG. 4, from the viewpoint of the correspondence between the motor current value and the motor position, the user can infer that the motor position is one of the causes of the abnormality.

ユーザは、この対応関係に基づいて、更にトリガ条件TCを絞り込むことができる。例えば、電流値に加えてモータ位置をトリガ条件TCに含ませることで、限られた容量のメモリ30を用いて、例えば、時間軸上で周期的に生じているような異常の現象を、ごく一部の少ない周期ではなく、より多くの周期を対象として捉えることができる。そして、ユーザは、トリガ条件TCを絞り込んだ後の結果に対して、例えば、その他の監視パラメータを含めた対応関係等も適宜参照すること等で、異常の真の原因を追求することができる。 The user can further narrow down the trigger condition TC based on this correspondence. For example, by including the motor position in the trigger condition TC in addition to the current value, an abnormal phenomenon that occurs periodically on the time axis, for example, can be detected by using the memory 30 having a limited capacity. It is possible to consider more cycles as targets instead of some less cycles. Then, the user can pursue the true cause of the abnormality by appropriately referring to, for example, the correspondence including other monitoring parameters for the result after narrowing down the trigger condition TC.

《モデルデータ生成機能》
図10は、図4とは異なる表示画面の一例を示す図である。図10の表示画面は、図4の表示画面とは波形表示部67の表示内容が異なっている。図10の波形表示部67には、トレース結果の他の一つとして、電流値の時間変化の波形が表示される。この場合、図2の表示制御部606は、ユーザからの指示に応じて、X軸の監視パラメータを時刻、Y軸の監視パラメータを電流値に割り当てた状態でグラフを作成すればよい。この際に、ユーザは、表示制御部606に対して、プロット図または折れ線グラフといったグラフの表示形式も選択可能である。
<< Model data generation function >>
FIG. 10 is a diagram showing an example of a display screen different from that of FIG. The display screen of FIG. 10 is different from the display screen of FIG. 4 in the display content of the waveform display unit 67. The waveform display unit 67 of FIG. 10 displays a waveform of a time change of the current value as one of the trace results. In this case, the display control unit 606 of FIG. 2 may create a graph in a state where the X-axis monitoring parameter is assigned to the time and the Y-axis monitoring parameter is assigned to the current value in response to an instruction from the user. At this time, the user can also select a graph display format such as a plot diagram or a line graph for the display control unit 606.

また、ユーザは、波形表示部67へ表示させたいトレースデータTDをプロジェクト表示部62から選択することができる。具体的には、例えば、図2の監視部37およびデータ選択部103等によってk回目のトレースが行われると、メモリ(RAM)30に、k回目のトレースによって得られたトレースデータTDが格納される。当該トレースデータTDは、別途、図1Aの不揮発性メモリ(NVM)31に転送される。同様にして、k+1回目のトレースが行われると、k+1回目のトレースによって得られたトレースデータTDがメモリ(RAM)30に格納されたのち、別途、不揮発性メモリ(NVM)31に転送される。 Further, the user can select the trace data TD to be displayed on the waveform display unit 67 from the project display unit 62. Specifically, for example, when the kth trace is performed by the monitoring unit 37, the data selection unit 103, or the like in FIG. 2, the trace data TD obtained by the kth trace is stored in the memory (RAM) 30. To. The trace data TD is separately transferred to the non-volatile memory (NVM) 31 of FIG. 1A. Similarly, when the k + 1st trace is performed, the trace data TD obtained by the k + 1th trace is stored in the memory (RAM) 30 and then separately transferred to the non-volatile memory (NVM) 31.

このようにして、不揮発性メモリ(NVM)31(ひいては、図2の情報情報処理6内の記憶部630)には、複数回のトレースに対応する複数のトレースデータTDが格納される。ユーザは、この複数のトレースデータTDの中から波形表示部67へ表示させたいトレースデータTDを単数または複数選択することができる。この例では、プロジェクト表示部62中のツリー「保存データ」配下に各トレースデータTDの名称と、対応するチェックボックスとが表示される。表示制御部606は、ユーザによって当該チェックボックスがチェックされると、対応するトレースデータTDのトレース波形を作成する。 In this way, the non-volatile memory (NVM) 31 (and by extension, the storage unit 630 in the information processing 6 of FIG. 2) stores a plurality of trace data TDs corresponding to a plurality of traces. The user can select one or more trace data TDs to be displayed on the waveform display unit 67 from the plurality of trace data TDs. In this example, the name of each trace data TD and the corresponding check box are displayed under the tree "saved data" in the project display unit 62. When the check box is checked by the user, the display control unit 606 creates a trace waveform of the corresponding trace data TD.

さらに、表示制御部606は、図10に示されるように、波形表示部67にモデル波形を表示させることも可能である。具体的には、図2において、情報処理装置6内のモデルデータ生成部604は、監視データD(トレースデータTD)のティピカルデータとなるモデルデータMDを生成する。表示制御部606は、選択されたトレースデータTDに基づくトレース波形に加えて、当該モデルデータMDに基づくモデル波形を作成し、選択されたトレースデータTDに加えてモデルデータMDを表示した特性図SPを表示部609に表示させる。 Further, the display control unit 606 can display the model waveform on the waveform display unit 67 as shown in FIG. Specifically, in FIG. 2, the model data generation unit 604 in the information processing apparatus 6 generates model data MD which is typical data of monitoring data D (trace data TD). The display control unit 606 creates a model waveform based on the model data MD in addition to the trace waveform based on the selected trace data TD, and displays the model data MD in addition to the selected trace data TD. Is displayed on the display unit 609.

モデルデータMDとは、各時刻において、監視パラメータ毎の通常時のデータ(すなわちティピカルデータ)を、例えば、予め学習によって推定したものである。図10のように、トレース波形とモデル波形とを並べて表示することによって、ユーザは、トレース波形の固有の偏差を視覚的に認識することができる。なお、モデルデータ生成部604は、例えば、CPUを用いたプログラム処理等によって実装される。 The model data MD is, for example, pre-learning to estimate normal time data (that is, typical data) for each monitoring parameter at each time. By displaying the trace waveform and the model waveform side by side as shown in FIG. 10, the user can visually recognize the inherent deviation of the trace waveform. The model data generation unit 604 is implemented by, for example, program processing using a CPU.

図11は、図2におけるモデルデータ生成部の処理内容の一例を説明する図である。図11では、前提として、例えば、正常状態のシステムに対して、予め所定の期間をトリガ条件TCとすることで4回分の固定周期トレースが行われている。モデルデータ生成部604は、記憶部630に格納された当該4回分のトレースデータ300A〜300Dを参照する。各回のトレースデータには、時刻、位置、電流、その他の監視パラメータが含まれる。 FIG. 11 is a diagram illustrating an example of the processing content of the model data generation unit in FIG. In FIG. 11, as a premise, for example, a fixed cycle trace for four times is performed on a system in a normal state by setting a predetermined period as a trigger condition TC in advance. The model data generation unit 604 refers to the four trace data 300A to 300D stored in the storage unit 630. Each trace data includes time, position, current and other monitoring parameters.

モデルデータ生成部604は、例えば、位置に対する電流の出現頻度を分析することで、位置を引数とした各回の電流の平均値を、データテーブル300R(すなわちモデルデータMD)として作成することができる。これにより、表示制御部606は、その後に所定のトリガ条件TCで取得したトレースデータ300Eの波形を作成する際に、当該トレースデータ300Eの各時刻の位置情報を抽出し、その位置情報に対応する平均電流をデータテーブル300Rから取得することができる。その結果、表示制御部606は、取得した平均電流に基づいてモデル波形を作成することができる。 The model data generation unit 604 can create, for example, the average value of the current each time with the position as an argument as the data table 300R (that is, the model data MD) by analyzing the appearance frequency of the current with respect to the position. As a result, when the display control unit 606 subsequently creates the waveform of the trace data 300E acquired under the predetermined trigger condition TC, the display control unit 606 extracts the position information of the trace data 300E at each time and corresponds to the position information. The average current can be obtained from the data table 300R. As a result, the display control unit 606 can create a model waveform based on the acquired average current.

なお、ここでは4回の平均値でモデルデータMDを生成する例を述べたが、モデルデータMDの算出方法は、これに限らず、例えばニューラルネット等の学習演算の手法を用いてもよい。例えば、図2に示したように、モデルデータ生成部は、情報処理装置6上に限らず、サーボアンプ1上、上位コントローラ5上、データサーバ(クラウド)71上等に実装されてもよい。 Although the example of generating the model data MD with the average value of four times has been described here, the calculation method of the model data MD is not limited to this, and a learning calculation method such as a neural network may be used. For example, as shown in FIG. 2, the model data generation unit may be mounted not only on the information processing device 6, but also on the servo amplifier 1, the host controller 5, the data server (cloud) 71, and the like.

この場合、例えば、サーボアンプ1のメモリ(RAM)30のデータは、順次、上位の装置へと転送される。すなわち、メモリ(RAM)30のデータは、上位コントローラ5および情報処理装置6の記憶部530,630へ転送され、記憶部530のデータは、情報処理装置6およびデータサーバ71の記憶部630,730へ転送され、記憶部630のデータは、データサーバ71の記憶部730へ転送される。 In this case, for example, the data in the memory (RAM) 30 of the servo amplifier 1 is sequentially transferred to a higher-level device. That is, the data in the memory (RAM) 30 is transferred to the storage units 530 and 630 of the host controller 5 and the information processing device 6, and the data in the storage unit 530 is stored in the storage units 630 and 730 of the information processing device 6 and the data server 71. The data in the storage unit 630 is transferred to the storage unit 730 of the data server 71.

逆に、データサーバ71のモデルデータ生成部704で生成されたモデルデータMDは、順次、下位の装置へと転送される。すなわち、モデルデータ生成部704からのモデルデータは、情報処理装置6および上位コントローラ5のモデルデータ生成部604,504へ転送され、モデルデータ生成部604からのモデルデータおよびモデルデータ生成部504からのモデルデータは、サーボアンプ1のモデルデータ生成部104へ転送される。 On the contrary, the model data MD generated by the model data generation unit 704 of the data server 71 is sequentially transferred to a lower device. That is, the model data from the model data generation unit 704 is transferred to the model data generation units 604 and 504 of the information processing device 6 and the host controller 5, and the model data from the model data generation unit 604 and the model data generation unit 504 from the model data generation unit 604. The model data is transferred to the model data generation unit 104 of the servo amplifier 1.

各転送先でのモデルデータ生成部は、上位より転送されたモデルデータで自身のモデルデータを更新するような機能を持つ。モデルデータ生成部は、本質機能が学習であるため、より多くの学習データを収集することで高度な推定が可能になる。そこで、このように階層的な情報伝達システムの構成を用いれば、より多くの情報がより高い計算能力をもつ計算機へと集まるようになり、各階層の計算能力の最小化と高度な推定演算を両立する低コストのシステムを実現できる。 The model data generation unit at each transfer destination has a function of updating its own model data with the model data transferred from the upper level. Since the essential function of the model data generation unit is learning, advanced estimation is possible by collecting more learning data. Therefore, by using the structure of the hierarchical information transmission system in this way, more information can be gathered in the computer with higher computing power, and the computing power of each layer can be minimized and advanced estimation calculations can be performed. A compatible low-cost system can be realized.

《相関算出機能》
前述したように、サーボアンプ1の不揮発性メモリ(NVM)31には、メモリ(RAM)30に格納されたトレースデータTDが、適宜、退避される。この際に、サーボアンプ1は、メモリ(RAM)30に格納された全てのトレースデータTDを不揮発性メモリ(NVM)31に退避させるのではなく、選択的に退避させることも可能である。これに関して、以下に説明する。
<< Correlation calculation function >>
As described above, the trace data TD stored in the memory (RAM) 30 is appropriately saved in the non-volatile memory (NVM) 31 of the servo amplifier 1. At this time, the servo amplifier 1 can selectively save all the trace data TDs stored in the memory (RAM) 30 instead of saving them in the non-volatile memory (NVM) 31. This will be described below.

図2のサーボアンプ1内の相関算出部105は、モデルデータ生成部104からのモデルデータMDとメモリ(RAM)30に格納されたトレースデータTDとの相関を算出する。この際に、モデルデータMDに基づくモデル波形とトレースデータに基づくトレース波形とで、トレース初期時刻または初期位相が異なる可能性がある。この場合、相関算出部105は、モデル波形の初期時刻または初期位相をずらしながら最大となる相関を求めるとよい。この相関算出の際に、相関算出部105は、例えばピアソンの相関係数を用いてもよい。 The correlation calculation unit 105 in the servo amplifier 1 of FIG. 2 calculates the correlation between the model data MD from the model data generation unit 104 and the trace data TD stored in the memory (RAM) 30. At this time, the initial trace time or the initial phase may differ between the model waveform based on the model data MD and the trace waveform based on the trace data. In this case, the correlation calculation unit 105 may find the maximum correlation while shifting the initial time or initial phase of the model waveform. At the time of this correlation calculation, the correlation calculation unit 105 may use, for example, Pearson's correlation coefficient.

図2の不揮発領域退避部106は、相関算出部105で算出された相関値に基づいて、メモリ(RAM)30内のトレースデータTDを、図1Aの不揮発性メモリ(NVM)31へ退避する。例えば、相関値が1であれば正常な繰り返し挙動であると判断できるため、データの退避は必須ではない。また、相関値が0の場合には、明らかに挙動が変化しており、上位コントローラ5等でも検知できるため、データの退避は必須ではない。 The non-volatile area saving unit 106 of FIG. 2 saves the trace data TD in the memory (RAM) 30 to the non-volatile memory (NVM) 31 of FIG. 1A based on the correlation value calculated by the correlation calculation unit 105. For example, if the correlation value is 1, it can be determined that the behavior is normal and repeated, so data saving is not essential. Further, when the correlation value is 0, the behavior is clearly changed and can be detected by the host controller 5 or the like, so it is not essential to save the data.

しかし、相関値が例えば0.95から0.90に変化した場合など、わずかに変化した場合には、細かい変化であるため上位コントローラ5等では検知できず、サーボアンプ1でなければ検知できない可能性がある。このため、このような場合に、不揮発領域退避部106は、メモリ(RAM)30内の対応するトレースデータTDを不揮発性メモリ31へ退避するとよい。なお、不揮発領域退避部106は、相関値だけでなく、例えば、トレースデータTDとモデルデータMDとの間の特徴量の比較結果等に基づいて退避要否を判定してもよい。特徴量として、平均値や実効値といった各種パラメータのいずれか、または各種パラメータの組み合わせを用いる方法等が挙げられる。 However, if the correlation value changes slightly, for example, from 0.95 to 0.90, it cannot be detected by the host controller 5 or the like because it is a small change, and it can only be detected by the servo amplifier 1. There is sex. Therefore, in such a case, the non-volatile area saving unit 106 may save the corresponding trace data TD in the memory (RAM) 30 to the non-volatile memory 31. The non-volatile region evacuation unit 106 may determine whether or not evacuation is necessary based on, for example, the comparison result of the feature amount between the trace data TD and the model data MD as well as the correlation value. Examples of the feature amount include a method using any of various parameters such as an average value and an effective value, or a combination of various parameters.

なお、図2において、情報処理装置6内のデータファイル保存部608は、情報処理装置6内の各部の処理データや、サーボアンプ1より収集したトレースデータTDを情報処理装置6のハードディスク等の記憶媒体(記憶部630を含む)に保存する。これによって、各種データを再利用することが可能になる。また、データサーバ71内のソフトウェア更新部709は、上位コントローラ5のファームウェアや、情報処理装置6内の各部のアプリケーションプログラムに対するアップデートを行う。これによって、例えば、各種学習機能の高度化などが可能になり、トレース波形収集の可用性を高めることに貢献できる。 In FIG. 2, the data file storage unit 608 in the information processing device 6 stores the processing data of each part in the information processing device 6 and the trace data TD collected from the servo amplifier 1 in the hard disk or the like of the information processing device 6. It is stored in a medium (including a storage unit 630). This makes it possible to reuse various types of data. Further, the software update unit 709 in the data server 71 updates the firmware of the host controller 5 and the application programs of each unit in the information processing device 6. This makes it possible to improve various learning functions, for example, and contribute to increasing the availability of trace waveform collection.

《実施の形態1の主要な効果》
以上、実施の形態1のモータ制御システムを用いることで、代表的には、ユーザに適正なトリガ条件を設定させることが可能になる。これにより、ユーザがトレース結果に基づいて各種解析を行う際の解析効率の向上や、トレースに用いるメモリ(すなわちメモリ(RAM)30)の容量削減等が図れる。
<< Main effect of Embodiment 1 >>
As described above, by using the motor control system of the first embodiment, it is possible to typically make the user set an appropriate trigger condition. As a result, it is possible to improve the analysis efficiency when the user performs various analyzes based on the trace result, reduce the capacity of the memory (that is, the memory (RAM) 30) used for the trace, and the like.

(実施の形態2)
《トレース機能の詳細》
図12は、本発明の実施の形態2によるモータ制御システムにおいて、トレース機能を担う各部の主要部の構成例を示すブロック図である。図12に示すモータ制御システムは、図2に示した構成例に対して、さらに、次のようなブロックが追加されている。すなわち、図12の情報処理装置6は、CPUを用いたプログラム処理等によって実装される物理モデル入力部601、監視条件決定部602、稼働マップ生成部603およびトリガ条件変更部605をさらに備える。また、図12のデータサーバ(クラウド)71は、CPUを用いたプログラム処理等によって実装される監視条件決定部702および稼働マップ生成部703をさらに備える。
(Embodiment 2)
<< Details of trace function >>
FIG. 12 is a block diagram showing a configuration example of a main part of each part having a trace function in the motor control system according to the second embodiment of the present invention. In the motor control system shown in FIG. 12, the following blocks are further added to the configuration example shown in FIG. That is, the information processing device 6 of FIG. 12 further includes a physical model input unit 601 implemented by program processing using a CPU, a monitoring condition determination unit 602, an operation map generation unit 603, and a trigger condition change unit 605. Further, the data server (cloud) 71 of FIG. 12 further includes a monitoring condition determination unit 702 and an operation map generation unit 703 implemented by program processing using a CPU or the like.

《物理モデル編集機能》
情報処理装置6内の物理モデル入力部(負荷情報入力部)601は、表示部609の表示画面を介して、ユーザに、図1Aのモータ負荷3の負荷情報を入力させるためのGUI(Graphical User Interface)を提供する。図13は、図12の物理モデル入力部によって表示部に表示される表示画面の一例を示す図である。図13に示す表示画面は、図4に示した波形表示部67の位置にモデル編集部63が表示されたものとなっている。
《Physical model editing function》
The physical model input unit (load information input unit) 601 in the information processing device 6 is a GUI (Graphical User) for causing the user to input the load information of the motor load 3 of FIG. 1A via the display screen of the display unit 609. Interface) is provided. FIG. 13 is a diagram showing an example of a display screen displayed on the display unit by the physical model input unit of FIG. In the display screen shown in FIG. 13, the model editing unit 63 is displayed at the position of the waveform display unit 67 shown in FIG.

ユーザは、モデル編集部63を介して、モータ負荷3の負荷情報(例えば接続状態)を入力することができる。具体例として、物理モデル入力部601は、例えば、ユーザによるドラッグアンドドロップ操作等に応じて、予めライブラリに登録された複数種類のモデル群の中から所望のモデルをモデル編集部63上にアイコンとして配置する。さらに、物理モデル入力部601は、ユーザによるクリック操作等に応じて、配置された各モデルが備えるノード端子の間を結線する。 The user can input the load information (for example, the connection state) of the motor load 3 via the model editing unit 63. As a specific example, the physical model input unit 601 sets a desired model from a plurality of types of models registered in the library in advance as an icon on the model editing unit 63 in response to a drag-and-drop operation by the user, for example. Deploy. Further, the physical model input unit 601 connects between the node terminals included in each of the arranged models in response to a click operation or the like by the user.

モデル群の中には、例えば、モータ、シャフト、ギア、カムなど、機能分類ごとに統一されたモデルが設けられる。また、モデル編集部63上に配置されたモデル(アイコン)に対しては、個々の詳細な特性や性能を示すパラメータ等を独立して入力できるように構成される。これにより、各モデル内部またはモデル間の物理的な接続形態を模式的に表示できると共に、表示画面を簡素化でき、ユーザに対して直感的な操作性を提供できる。 In the model group, for example, a model unified for each functional classification such as a motor, a shaft, a gear, and a cam is provided. Further, for the model (icon) arranged on the model editing unit 63, parameters indicating individual detailed characteristics and performance can be independently input. As a result, the physical connection form inside each model or between models can be schematically displayed, the display screen can be simplified, and intuitive operability can be provided to the user.

例えば、モータ負荷3は、図13に示されるように、複数のシャフトモデル(S1〜S3)を、ギア・プーリ等のモデル(G)で連結することで描画される。この際には、モータモデル(M)毎にモータ負荷3が接続されるため、入力後のモデル群は、モータモデル(M)を起点とした樹形図状になる。 For example, as shown in FIG. 13, the motor load 3 is drawn by connecting a plurality of shaft models (S1 to S3) with a model (G) such as a gear / pulley. At this time, since the motor load 3 is connected to each motor model (M), the model group after input becomes a tree diagram starting from the motor model (M).

このため、物理モデル入力部601は、例えば、モータモデル(M)の配置領域を画面左端に制限したり、または、モータモデル(M)から順次右方向に所望のモデルが配置されるように制限するといったように、配置箇所や配置方向に制限を加えてもよい。これにより、入力後のモデル群は網目状に配置されるため、解読が複雑になる等のリスクを軽減できる。 Therefore, the physical model input unit 601 limits the arrangement area of the motor model (M) to the left end of the screen, or restricts the desired model to be sequentially arranged to the right from the motor model (M). You may put restrictions on the placement location and placement direction, such as. As a result, the model group after input is arranged in a mesh pattern, so that the risk of complicated decoding can be reduced.

また、物理モデル入力部601は、モデル編集部63上に配置されたモデルがダブルクリック等で選択された場合、ユーザによるパラメータ入力が可能なポップアップ画面69を起動する。そして、ユーザは、例えばシャフトモデルS2に対応するポップアップ画面69を介して、材質、形状、外径、内径、長さ等、シャフトの物性を示す諸元をキーボード入力したり、または、プルダウンメニューによって選択することが可能となっている。また、モデルの中には、カムを代表に、モータ位相に対して変動するものを含まれる。そこで、物理モデル入力部601は、カムモデル(L1)等に対応するポップアップ画面69上にはX−Yプロット軸等を表示させる。ユーザは、当該X−Yプロット軸に対して、マウス等のクリック操作でカム曲線を入力することができる。 Further, when the model arranged on the model editing unit 63 is selected by double-clicking or the like, the physical model input unit 601 activates a pop-up screen 69 on which parameters can be input by the user. Then, the user can input specifications indicating the physical characteristics of the shaft such as material, shape, outer diameter, inner diameter, and length through the pop-up screen 69 corresponding to the shaft model S2, or by using a pull-down menu. It is possible to select. In addition, some models, such as cams, fluctuate with respect to the motor phase. Therefore, the physical model input unit 601 displays the XY plot axes and the like on the pop-up screen 69 corresponding to the cam model (L1) and the like. The user can input a cam curve to the XY plot axis by clicking with a mouse or the like.

図12の監視条件決定部602は、物理モデル入力部(負荷情報入力部)601で入力されたモデル情報(負荷情報)に基づいて、サーボアンプ1内の監視部37で用いる監視条件MCを決定する。監視条件MCには、監視部37における監視周期(例えば、ADCのサンプリング周期)や、または、当該監視周期で継続的に監視を行う際の監視期間(例えば、ADCのイネーブル周期)等が含まれる。サーボアンプ1内の監視条件設定部102は、この監視条件決定部602からの監視条件MCを監視部37に設定する。 The monitoring condition determination unit 602 of FIG. 12 determines the monitoring condition MC used by the monitoring unit 37 in the servo amplifier 1 based on the model information (load information) input by the physical model input unit (load information input unit) 601. To do. The monitoring condition MC includes a monitoring cycle in the monitoring unit 37 (for example, ADC sampling cycle), a monitoring period for continuous monitoring in the monitoring cycle (for example, ADC enable cycle), and the like. .. The monitoring condition setting unit 102 in the servo amplifier 1 sets the monitoring condition MC from the monitoring condition determination unit 602 in the monitoring unit 37.

例えば、シャフトモデルの材質や外径・内径というパラメータからは、シャフトのもつ慣性モーメントを情報として得ることができる。この慣性モーメントに対して、別途入力されたサーボアンプ1のサーボ性能(具体的には出力できるトルク)が慣性モーメントに対して十分か否か等を考慮することで、想定するモータ負荷3に対する制動時間などを推定できる。 For example, the moment of inertia of the shaft can be obtained as information from the parameters such as the material of the shaft model and the outer diameter and inner diameter. Braking against the assumed motor load 3 by considering whether the servo performance (specifically, the torque that can be output) of the servo amplifier 1 input separately is sufficient for the moment of inertia with respect to the moment of inertia. You can estimate the time and so on.

このため、監視条件決定部602は、物理モデル入力部601で入力されたモータ負荷3を対象とする場合の、適切な監視期間の長さを予め推定できる。さらに、監視条件決定部602は、シャフトの長さ等を考慮することで軸のねじれ量を推定でき、ねじれに対して十分な分解能が得られるような監視周期(サンプリング周期)を推定することも可能である。これにより、監視期間が短くなるリスクを軽減でき、また、監視周期が過度に短くなるような事態を抑制でき、トレースに要するメモリ(RAM)30の容量を節約できる。 Therefore, the monitoring condition determination unit 602 can estimate in advance an appropriate length of the monitoring period when the motor load 3 input by the physical model input unit 601 is targeted. Further, the monitoring condition determination unit 602 can estimate the amount of twist of the shaft by considering the length of the shaft and the like, and can also estimate the monitoring cycle (sampling cycle) so that sufficient resolution can be obtained for the twist. It is possible. As a result, the risk of shortening the monitoring period can be reduced, the situation where the monitoring cycle becomes excessively short can be suppressed, and the capacity of the memory (RAM) 30 required for tracing can be saved.

具体的なプログラム例として、監視条件決定部602は、例えば、慣性モーメントに対して任意の比例定数を乗算することで監視期間を算出する処理や、または、監視周期をシャフトの長さの逆比例式で算出する処理等を実行すればよい。この算出の際に使用する式や定数は、個々の物理モデルの特性に合わせて予め定められる。 As a specific program example, the monitoring condition determination unit 602 calculates the monitoring period by multiplying the moment of inertia by an arbitrary constant of proportionality, or sets the monitoring period to the inverse proportional to the length of the shaft. The process of calculating with the formula may be executed. The formulas and constants used in this calculation are predetermined according to the characteristics of each physical model.

また、図12に示すとおり、データサーバ71上に監視条件決定部702を設け、例えば、情報処理装置6で得られたモデル情報を一旦データサーバ71へ転送し、データサーバ71で監視条件MCを演算し、この演算結果を情報処理装置6へ戻す構成であってもよい。このように、データサーバ71を利用する形態であれば、より多くのサンプルをモデル情報の学習に活用できるため、出力値の精度向上や物理モデルの高度化への貢献が期待できる。また、監視条件決定部の一形態として、サーボアンプ1のフィードバック制御を模擬するシミュレーション機能を内蔵してもよい。 Further, as shown in FIG. 12, a monitoring condition determination unit 702 is provided on the data server 71, for example, the model information obtained by the information processing device 6 is once transferred to the data server 71, and the monitoring condition MC is set by the data server 71. The configuration may be such that the calculation is performed and the calculation result is returned to the information processing device 6. As described above, in the form of using the data server 71, more samples can be used for learning the model information, which can be expected to contribute to the improvement of the accuracy of the output value and the sophistication of the physical model. Further, as one form of the monitoring condition determination unit, a simulation function for simulating the feedback control of the servo amplifier 1 may be built in.

《稼働マップ生成機能》
図12の稼働マップ生成部603は、物理モデル入力部(負荷情報入力部)601で入力されたモデル情報(負荷情報)に基づいて、モータ2の回転位相とモータ負荷3の稼働範囲との関係を示した稼働マップWMを生成する。図14は、図12における稼働マップ生成部によって生成される稼働マップの概要を説明する模式図である。図14において、横軸はモータ2の回転位相であり、縦軸には、モータ負荷3の稼働範囲の例として、負荷Aおよび負荷Bの稼働範囲が示される。
<< Operation map generation function >>
The operation map generation unit 603 of FIG. 12 has a relationship between the rotation phase of the motor 2 and the operation range of the motor load 3 based on the model information (load information) input by the physical model input unit (load information input unit) 601. Generate an operation map WM showing. FIG. 14 is a schematic diagram illustrating an outline of an operation map generated by the operation map generation unit in FIG. In FIG. 14, the horizontal axis represents the rotation phase of the motor 2, and the vertical axis shows the operating ranges of the load A and the load B as an example of the operating range of the motor load 3.

ここでは、物理モデル入力部601で入力されたモデル情報に基づき、負荷Aは、モータ2の1回転毎に1度、負荷Bは、モータ2の3回転毎に2度の比率で稼働するようギアで結合されている場合を想定する。また、負荷Aおよび負荷Bは、共にカム等で稼働させるものとし、モータ2の回転挙動に対して負荷A,Bが周期的に稼働される場合を想定する。 Here, based on the model information input by the physical model input unit 601, the load A operates once every one rotation of the motor 2, and the load B operates twice every three rotations of the motor 2. Suppose that they are connected by gears. Further, it is assumed that both the load A and the load B are operated by a cam or the like, and the loads A and B are periodically operated with respect to the rotational behavior of the motor 2.

図14において、負荷Aの稼働範囲(言い換えれば負荷継続時間)は“L”であり、発生周期は“L”であり、初期位相は“ΔP”である。また、負荷Bの稼働範囲は“L”であり、発生周期は“L”であり、初期位相は“ΔP”である。稼働範囲L,Lは、図13に示したカム曲線に基づいて定められ、発生周期L,Lは、ギア比に基づいて定められる。 14, operation range of the load A (load duration in other words) is "L A", a generation period "L 1", the initial phase is "[Delta] P 1". Further, operation range of the load B is "L B", generation period is "L 2", the initial phase is "[Delta] P 2". Operating range L A, L B is determined based on the cam curve shown in FIG. 13, the generation period L 1, L 2 are determined based on the gear ratio.

このモデルでは、初期位相に関わらず最低3回転分の回転位相で負荷A,Bの稼働範囲をマップ化できる。稼働マップ生成部603は、図14に示されるように、この3回転分の回転位相におけるマップを、回転1回ごとの発生頻度情報へ分解した後、モータ2の回転位相に対するヒストグラムへ集約することで稼働マップWMを生成する。 In this model, the operating range of loads A and B can be mapped with a rotation phase of at least 3 rotations regardless of the initial phase. As shown in FIG. 14, the operation map generation unit 603 decomposes the map in the rotation phase for three rotations into the occurrence frequency information for each rotation, and then aggregates it into a histogram for the rotation phase of the motor 2. Generate the operation map WM with.

図15は、図12における稼働マップ生成部の処理内容の一例を示すフロー図である。図15において、稼働マップ生成部603は、ギア比の最小公倍数でマップ長を例えば配列として準備し(ステップS11)、ギア・カム定数から軸上の負荷点(負荷の稼働範囲)を割り付ける(ステップS12)。続いて、稼働マップ生成部603は、配列の全長をモータ2の回転周期単位で区切り(ステップS13)、各回転周期毎に各負荷点の出現頻度を集計する(ステップS14)。これに基づいて、稼働マップ生成部603は、例えば、モータ2の回転位相と負荷点との関係を表す行列データ等を稼働マップWMとして生成する(ステップS15)。 FIG. 15 is a flow chart showing an example of the processing content of the operation map generation unit in FIG. In FIG. 15, the operation map generation unit 603 prepares a map length as an array, for example, with the least common multiple of the gear ratio (step S11), and allocates a load point (load operation range) on the axis from the gear cam constant (step). S12). Subsequently, the operation map generation unit 603 divides the entire length of the array into units of the rotation cycle of the motor 2 (step S13), and totals the appearance frequency of each load point for each rotation cycle (step S14). Based on this, the operation map generation unit 603 generates, for example, matrix data or the like representing the relationship between the rotation phase of the motor 2 and the load point as the operation map WM (step S15).

ここで、ステップS12の負荷点の情報は、例えば、負荷点有り時には配列データ“1”に、負荷点無し時には配列データ“0”に定められる。カムの負荷点は、例えば、図13のポップアップ画面69上で入力されたカム曲線を、所定の閾値(例えば勾配の閾値等)を用いてパルス波形に変換すること等で定められる。また、ステップS15において、稼働マップ生成部603は、例えばニューラルネットワークなどの手法を用いて、生成した稼働マップWMを繰り返し学習することでニューラルネットワークの重みづけ係数を決定してもよい。 Here, the information of the load point in step S12 is defined as, for example, the array data “1” when there is a load point and the array data “0” when there is no load point. The cam load point is determined, for example, by converting the cam curve input on the pop-up screen 69 of FIG. 13 into a pulse waveform using a predetermined threshold value (for example, a gradient threshold value). Further, in step S15, the operation map generation unit 603 may determine the weighting coefficient of the neural network by repeatedly learning the generated operation map WM by using a method such as a neural network.

この場合、図12に示されるように、データサーバ71上に稼働マップ生成部703を設け、情報情報装置6が、モデル情報を一旦データサーバ71へ転送し、稼働マップ生成部703が、ニューラルネットワークの重みづけ係数を演算したのち、当該演算結果を情報処理装置6へ戻せばよい。このように、データサーバ71を利用する形態であれば、より多くのサンプルを学習に活用できるため、稼働マップWMの精度向上への貢献が期待できる。 In this case, as shown in FIG. 12, an operation map generation unit 703 is provided on the data server 71, the information information device 6 once transfers the model information to the data server 71, and the operation map generation unit 703 is a neural network. After calculating the weighting coefficient of, the calculation result may be returned to the information processing apparatus 6. In this way, if the data server 71 is used, more samples can be used for learning, which can be expected to contribute to improving the accuracy of the operation map WM.

ここで、図4等に示したように、ユーザは、実稼働データに基づく特性図SP上で領域65を選択することで、モータ位置を含むトリガ条件TCを定めることが可能であった。ただし、例えば、ギアやカムを用いたモータ負荷3を稼働するサーボシステムの場合、領域65の選択に伴いトレース対象に定められる負荷は、一つの位相帯に限らず複数の位相帯で等しく稼働状態となっている場合がある。この場合、本来トレース対象であるべき位相帯がトレース対象から除外される恐れがある。 Here, as shown in FIG. 4 and the like, the user can determine the trigger condition TC including the motor position by selecting the area 65 on the characteristic diagram SP based on the actual operation data. However, for example, in the case of a servo system that operates the motor load 3 using gears and cams, the load defined as the trace target due to the selection of the region 65 is not limited to one phase band, but is equally operating in a plurality of phase bands. It may be. In this case, the phase band that should be the trace target may be excluded from the trace target.

例えば図14の例では、負荷Bの負荷点は、モータ2の0〜2πの回転位相の中で、異なる2つの位相帯に存在しており、特性図SP上の領域65によっていずれか一方の位相帯をトリガ条件TCとして選択しても、他方の位相帯がトリガ条件TCから除外され得る。この場合、例えば、モータ負荷3における異常の兆候を十分に検知できない恐れがある。 For example, in the example of FIG. 14, the load points of the load B exist in two different phase bands in the rotation phases of the motor 2 from 0 to 2π, and one of them depends on the region 65 on the characteristic diagram SP. Even if a phase band is selected as the trigger condition TC, the other phase band can be excluded from the trigger condition TC. In this case, for example, there is a possibility that the sign of abnormality in the motor load 3 cannot be sufficiently detected.

そこで、図12のトリガ条件変更部605は、稼働マップ生成部703からの稼働マップWMに基づいて、モータ負荷3の稼働範囲がモータ2の回転位相における第1の位相範囲の他に第2の位相範囲にも存在しているか否かを判定する。そして、トリガ条件変更部605は、トリガ条件TCが第1の位相範囲であった場合には、トリガ条件TCに第2の位相範囲を追加し、当該トリガ条件TCをサーボアンプ1内のデータ選択部103に設定する。これにより、モータ負荷3における異常の兆候を逃さず検知することが可能になる。 Therefore, in the trigger condition changing unit 605 of FIG. 12, based on the operation map WM from the operation map generation unit 703, the operation range of the motor load 3 is second in addition to the first phase range in the rotation phase of the motor 2. Determine if it also exists in the phase range. Then, when the trigger condition TC is in the first phase range, the trigger condition changing unit 605 adds a second phase range to the trigger condition TC, and selects the trigger condition TC as data in the servo amplifier 1. Set in unit 103. This makes it possible to detect the signs of abnormality in the motor load 3 without missing them.

なお、図4に示したポップアップ画面66上には、2個のチェックボックスが設けられる。この内、「サンプリングの間隔を自動化する」のチェックボックスにチェック入力が行われると、図12の監視条件決定部602が前述したような方法で監視条件MCの決定を行う。一方、「相関の強いデータは他位置もサンプリングする」のチェックボックスにチェック入力が行われると、図12のトリガ条件変更部605が前述したような方法でトリガ条件TCの変更を行う。 Two check boxes are provided on the pop-up screen 66 shown in FIG. When a check input is made in the "Automate sampling interval" check box, the monitoring condition determination unit 602 of FIG. 12 determines the monitoring condition MC by the method described above. On the other hand, when a check input is made in the check box of "Data with strong correlation also samples other positions", the trigger condition changing unit 605 of FIG. 12 changes the trigger condition TC by the method as described above.

《実施の形態2の主要な効果》
以上、実施の形態2のモータ制御システムを用いることで、実施の形態1で述べた各種効果に加えて、さらに、ユーザにモータ負荷3の物理モデルを入力させることで、監視周期や監視期間の適正化が図れ、限られた容量のメモリ(RAM)30を二通手効率的なトレースを行うことが可能になる。また、この物理モデルの入力に際して、ユーザは、機械工学・制御工学に精通せずとも、部品カタログの物性データや機器接続図を参照することで足りる。さらに、物理モデルに基づいて稼働マップを生成することで、トリガ条件TCを、取りこぼしが生じないように適正に変更することが可能になる。
<< Main effect of Embodiment 2 >>
As described above, by using the motor control system of the second embodiment, in addition to the various effects described in the first embodiment, the user can input the physical model of the motor load 3 to change the monitoring cycle and the monitoring period. The optimization can be achieved, and it becomes possible to perform two-hand efficient tracing of the memory (RAM) 30 having a limited capacity. Further, when inputting this physical model, the user does not need to be familiar with mechanical engineering and control engineering, but only needs to refer to the physical property data of the parts catalog and the device connection diagram. Further, by generating the operation map based on the physical model, the trigger condition TC can be appropriately changed so that the omission does not occur.

以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能である。例えば、前述した実施の形態は、本発明を分かり易く説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施の形態の構成の一部を他の実施の形態の構成に置き換えることが可能であり、また、ある実施の形態の構成に他の実施の形態の構成を加えることも可能である。また、各実施の形態の構成の一部について、他の構成の追加・削除・置換をすることが可能である。 Although the invention made by the present inventor has been specifically described above based on the embodiment, the present invention is not limited to the embodiment and can be variously modified without departing from the gist thereof. For example, the above-described embodiments have been described in detail in order to explain the present invention in an easy-to-understand manner, and are not necessarily limited to those having all the described configurations. Further, it is possible to replace a part of the configuration of one embodiment with the configuration of another embodiment, and it is also possible to add the configuration of another embodiment to the configuration of one embodiment. .. Further, it is possible to add / delete / replace other configurations with respect to a part of the configurations of each embodiment.

1 サーボアンプ(モータ制御装置)
2 モータ
3 モータ負荷
6 情報処理装置
30 メモリ(RAM)
37 監視部
63 モデル編集部
65 領域
67 波形表示部
103 データ選択部
104,504,604,704 モデルデータ生成部
601 物理モデル入力部(負荷情報入力部)
602,702 監視条件決定部
603,703 稼働マップ生成部
605 トリガ条件変更部
606 表示制御部
607 トリガ条件設定部
609 表示部
D 監視データ
DS 監視データセット
MC 監視条件
MD モデルデータ
SP 特性図
TC トリガ条件
TD トレースデータ
WM 稼働マップ
1 Servo amplifier (motor control device)
2 Motor 3 Motor load 6 Information processing device 30 Memory (RAM)
37 Monitoring unit 63 Model editing unit 65 Area 67 Waveform display unit 103 Data selection unit 104,504,604,704 Model data generation unit 601 Physical model input unit (load information input unit)
602,702 Monitoring condition determination unit 603,703 Operation map generation unit 605 Trigger condition change unit 606 Display control unit 607 Trigger condition setting unit 609 Display unit D Monitoring data DS Monitoring data set MC Monitoring condition MD Model data SP Characteristic diagram TC Trigger condition TD trace data WM operation map

Claims (6)

モータと、前記モータを制御するモータ制御装置とを有するモータ制御システムであって、
前記モータまたは前記モータ制御装置から得られるN個(Nは2以上の整数)の監視パラメータを監視し、前記N個の監視パラメータの監視データからなる監視データセットを監視周期毎に取得する監視部と、
メモリと、
前記監視部で取得された前記監視データセットの中からトリガ条件を満たす前記監視データセットを選択し、当該選択した監視データセットをトレースデータとして前記メモリに格納するデータ選択部と、
表示部と、
ユーザの命令に応じて前記N個の監視パラメータの中からM個(Mは2以上かつN以下の整数)の監視パラメータを定め、前記M個の監視パラメータに対応するM個の軸を有するグラフ上に前記トレースデータを表示したものである特性図を作成し、前記特性図を前記表示部に表示させる表示制御部と、
前記特性図を前記表示部に表示させた状態で、前記特性図における前記M個の軸の範囲を次回の前記トリガ条件として前記ユーザに選択させるトリガ条件設定部と、
を有する、
モータ制御システム。
A motor control system including a motor and a motor control device for controlling the motor.
A monitoring unit that monitors N monitoring parameters (N is an integer of 2 or more) obtained from the motor or the motor control device, and acquires a monitoring data set consisting of monitoring data of the N monitoring parameters for each monitoring cycle. When,
With memory
A data selection unit that selects the monitoring data set that satisfies the trigger condition from the monitoring data sets acquired by the monitoring unit and stores the selected monitoring data set as trace data in the memory.
Display and
A graph in which M monitoring parameters (M is an integer of 2 or more and N or less) are determined from the N monitoring parameters according to a user's command, and have M axes corresponding to the M monitoring parameters. A display control unit that creates a characteristic diagram that displays the trace data on the display and displays the characteristic diagram on the display unit.
With the characteristic diagram displayed on the display unit, a trigger condition setting unit that allows the user to select the range of the M axes in the characteristic diagram as the next trigger condition.
Have,
Motor control system.
請求項1記載のモータ制御システムにおいて、
さらに、前記ユーザによって操作され、前記モータ制御装置との間で通信経路を備える情報処理装置を有し、
前記モータ制御装置は、前記監視部、前記メモリおよび前記データ選択部を備え、
前記情報処理装置は、前記表示部、前記表示制御部および前記トリガ条件設定部を備える、
モータ制御システム。
In the motor control system according to claim 1,
Further, it has an information processing device operated by the user and having a communication path with the motor control device.
The motor control device includes the monitoring unit, the memory, and the data selection unit.
The information processing device includes the display unit, the display control unit, and the trigger condition setting unit.
Motor control system.
請求項2記載のモータ制御システムにおいて、
前記トリガ条件設定部は、前記ユーザに、マウスを用いて前記特性図内の領域を選択させることで前記トリガ条件を定める、
モータ制御システム。
In the motor control system according to claim 2,
The trigger condition setting unit determines the trigger condition by causing the user to select a region in the characteristic diagram using a mouse.
Motor control system.
請求項1記載のモータ制御システムにおいて、
さらに、前記監視データのティピカルデータとなるモデルデータを生成するモデルデータ生成部を有し、
前記表示制御部は、前記トレースデータに加えて前記モデルデータを表示した前記特性図を前記表示部に表示させる、
モータ制御システム。
In the motor control system according to claim 1,
Further, it has a model data generation unit that generates model data that becomes typical data of the monitoring data.
The display control unit causes the display unit to display the characteristic diagram displaying the model data in addition to the trace data.
Motor control system.
請求項1記載のモータ制御システムにおいて、さらに、
前記ユーザに、前記モータによって駆動されるモータ負荷の負荷情報を入力させる負荷情報入力部と、
前記負荷情報に基づいて、前記監視部における前記監視周期、または、前記監視周期で継続的に監視を行う際の監視期間を定める監視条件決定部と、
を有する、
モータ制御システム。
In the motor control system according to claim 1, further
A load information input unit that causes the user to input load information of a motor load driven by the motor.
Based on the load information, the monitoring cycle in the monitoring unit, or the monitoring condition determination unit that determines the monitoring period when continuous monitoring is performed in the monitoring cycle,
Have,
Motor control system.
請求項1記載のモータ制御システムにおいて、さらに、
前記ユーザに、前記モータによって駆動されるモータ負荷の負荷情報を入力させる負荷情報入力部と、
前記負荷情報に基づいて、前記モータの回転位相と前記モータ負荷の稼働範囲との関係を示した稼働マップを生成する稼働マップ生成部と、
前記稼働マップに基づいて、前記モータ負荷の稼働範囲が前記モータの回転位相における第1の位相範囲と、前記第1の位相範囲とは異なる第2の位相範囲とに存在している場合で、前記トリガ条件が前記第1の位相範囲であった場合に、前記トリガ条件に前記第2の位相範囲を追加するトリガ条件変更部と、
を有する、
モータ制御システム。
In the motor control system according to claim 1, further
A load information input unit that causes the user to input load information of a motor load driven by the motor.
An operation map generation unit that generates an operation map showing the relationship between the rotation phase of the motor and the operation range of the motor load based on the load information.
When the operating range of the motor load exists in a first phase range in the rotation phase of the motor and a second phase range different from the first phase range based on the operation map. When the trigger condition is the first phase range, a trigger condition changing unit that adds the second phase range to the trigger condition, and a trigger condition changing unit.
Have,
Motor control system.
JP2019228762A 2019-12-19 2019-12-19 motor control system Active JP7194099B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019228762A JP7194099B2 (en) 2019-12-19 2019-12-19 motor control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019228762A JP7194099B2 (en) 2019-12-19 2019-12-19 motor control system

Publications (2)

Publication Number Publication Date
JP2021097545A true JP2021097545A (en) 2021-06-24
JP7194099B2 JP7194099B2 (en) 2022-12-21

Family

ID=76431829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019228762A Active JP7194099B2 (en) 2019-12-19 2019-12-19 motor control system

Country Status (1)

Country Link
JP (1) JP7194099B2 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1155978A (en) * 1997-08-01 1999-02-26 Tsubakimoto Chain Co Load monitoring device
JP2009068950A (en) * 2007-09-12 2009-04-02 Yaskawa Electric Corp Machine diagnostic system
JPWO2015068214A1 (en) * 2013-11-05 2017-03-09 株式会社安川電機 Trace data collection system, controller, motor control device, operation terminal, and trace data collection method
JP2017167607A (en) * 2016-03-14 2017-09-21 オムロン株式会社 Setting support apparatus, setting support method, information processing program, and record medium
JP2019076993A (en) * 2017-10-24 2019-05-23 オークマ株式会社 Abnormality diagnosis device and abnormality diagnosis method for direct-acting shaft in machine tool, and machine tool

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6078446B2 (en) 2013-09-27 2017-02-08 本田技研工業株式会社 Cam bearing lubrication structure for internal combustion engine

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1155978A (en) * 1997-08-01 1999-02-26 Tsubakimoto Chain Co Load monitoring device
JP2009068950A (en) * 2007-09-12 2009-04-02 Yaskawa Electric Corp Machine diagnostic system
JPWO2015068214A1 (en) * 2013-11-05 2017-03-09 株式会社安川電機 Trace data collection system, controller, motor control device, operation terminal, and trace data collection method
JP2017167607A (en) * 2016-03-14 2017-09-21 オムロン株式会社 Setting support apparatus, setting support method, information processing program, and record medium
JP2019076993A (en) * 2017-10-24 2019-05-23 オークマ株式会社 Abnormality diagnosis device and abnormality diagnosis method for direct-acting shaft in machine tool, and machine tool

Also Published As

Publication number Publication date
JP7194099B2 (en) 2022-12-21

Similar Documents

Publication Publication Date Title
US11131986B1 (en) Modular industrial controller system
US11349901B1 (en) Automated network discovery for industrial controller systems
EP2686937B1 (en) Non-intrusive load monitoring system and method
US20160093077A1 (en) Data visualization of a datacenter
CN103728518B (en) Converter debugging system and method
US9158453B2 (en) Human-machine interface having multiple touch trend manipulation capabilities
CN108280876A (en) A kind of industrial monitoring system based on dynamic 3 D model scene formula virtual show
CN105825537A (en) Method for generating animation curve and terminal
US20100083110A1 (en) Human-machine interface having multiple touch display navigation capabilities
CN115302506A (en) Joint module testing method, device, equipment and storage medium
JP7194099B2 (en) motor control system
JP4253189B2 (en) User interface for semiconductor evaluation equipment
CN104050312A (en) Electromechanical joint simulation method
CN109408566A (en) A kind of intelligence chart recommended method and device
CN105791927A (en) Smart television gesture control method and system
KR101884373B1 (en) Method for providing a simulation execution result according to a plant design and a computer program stored in a computer-readable storage medium for performing the same
CN114282029A (en) Primitive management method and device, electronic equipment and storage medium
JP6222430B2 (en) Control system and its engineering program
US20160018809A1 (en) Ladder chart creation device, monitoring device, computer program, and machine control device
US10860162B2 (en) Supervisory control system for controlling a technical system, a method and computer program products
CN108762603A (en) A kind of display methods and electronic equipment
CN114337433B (en) Permanent magnet synchronous motor flux linkage identification method, system, medium and terminal
WO2017168564A1 (en) Program generation device, program generation method and program
TWI673950B (en) Motor cotrol device and motor cotrol method
JP6573750B1 (en) Control data creation device, control data creation method, and control data creation program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210804

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220608

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220614

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220719

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221017

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: 20221129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221209

R150 Certificate of patent or registration of utility model

Ref document number: 7194099

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150