JP3772052B2 - Control device - Google Patents

Control device Download PDF

Info

Publication number
JP3772052B2
JP3772052B2 JP19575399A JP19575399A JP3772052B2 JP 3772052 B2 JP3772052 B2 JP 3772052B2 JP 19575399 A JP19575399 A JP 19575399A JP 19575399 A JP19575399 A JP 19575399A JP 3772052 B2 JP3772052 B2 JP 3772052B2
Authority
JP
Japan
Prior art keywords
servo
control
unit
data
analog
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP19575399A
Other languages
Japanese (ja)
Other versions
JP2001022419A (en
Inventor
良樹 橋本
義幸 久保
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FANUC Corp
Original Assignee
FANUC Corp
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 FANUC Corp filed Critical FANUC Corp
Priority to JP19575399A priority Critical patent/JP3772052B2/en
Publication of JP2001022419A publication Critical patent/JP2001022419A/en
Application granted granted Critical
Publication of JP3772052B2 publication Critical patent/JP3772052B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、数値制御装置やロボット制御装置等の駆動源としてのサーボモータを制御する制御装置に関する。
【0002】
【従来の技術】
数値制御装置やロボット制御装置等のサーボモータで駆動される機械を制御する制御装置において、制御装置及び機械の保守・調整時など、制御装置や機械の電気部品、電気部材、電気素子等の各部に流れる電流、電圧等のアナログ信号の時間的変化を調べ解析したい場合がある。このような場合、通常オシロスコープを使用して調べ解析している。
【0003】
【発明が解決しようとする課題】
上述したように、制御装置や機械の各種電気部材のアナログ情報を調べ、解析するにはオシロスコープを用意しなければ、任意のアナログ信号の時間的な変化を観測することができなかった。しかし、オシロスコープは比較的高価な装置であり、サービス担当者等が常時携帯することは困難であった。
そこで、本発明の課題は、オシロスコープを用意しなくても、装置や機械の状態を解析するデータを得ることのできる制御装置を提供することにある。
さらに、本発明は、制御装置が有する表示器を利用して任意のアナログ信号の時間的変化を観測できる制御装置を提供することにある。
【0004】
【課題を解決するための手段】
制御部と、サーボモータを制御するためのサーボアンプ部を有し、制御部とサーボアンプ部の間を通信手段で接続すると共に、サーボモータの位置、速度、または電流の内少なくとも1つの情報を処理するサーボ制御用プロセッサを制御部に備えた制御装置において、本願請求項1に係わる発明は、前記通信手段につながるユニットに外部アナログ信号入力ポートを設け、前記位置、速度、または電流を処理する周期以下の短い周期で該アナログ信号の入力をアナログ/デジタル変換手段でデジタルデータに変換し、サーボ制御用プロセッサに送出可能とした。
【0005】
請求項2に係わる発明は、さらに前記ユニットをサーボアンプ部とし、サーボアンプ部に設けられたサーボモータに流れる電流をデジタル信号に変換するアナログ/デジタル変換手段を外部アナログ信号入力ポートから入力されるアナログ信号のデジタル信号に変換する手段として利用する。
【0006】
請求項3に係わる発明は、さらに、サーボ制御用プロセッサが受けた前記アナログ信号をデジタル変換したデータとサーボ制御用プロセッサが取り扱う各種データを組み合わせて保守情報として提供するようにした。
請求項4に係わる発明は、さらに、前記保守情報を前記制御部の表示手段にグラフ表示する。
請求項5に係わる発明は、前記保守情報として制御部が機械を制御するためのデジタル入力、デジタル出力信号をも組み合わせ、これらの情報も表示するようにした。
又、請求項6に係わる発明は、前記保守情報の表示のトリガ条件を設定可能とし、制御装置の表示手段によりオシロスコープの機能を提供するようにした。
さらに、請求項7に係わる発明は、前記保守情報をインターネットに出力することによって、離れた場所に設置されたインターネット端末上に前記情報をグラフ表示できるようにした。
【0007】
【発明の実施の形態】
図1は本発明の制御装置の一実施形態の要部ブロック図である。この実施形態では、制御部10のユニットとサーボアンプ部20のユニットが通信線Lで接続されている。制御部10には、メインプロセッサ11、サーボ制御用プロセッサ(デジタルシグナルプロセッサ)12、メインプロセッサ11及びサーボ制御用プロセッサ12が共にアクセスできる共有メモリ13,グラフィック制御回路14等がバス15で接続されている。又、グラフィック制御回路14には表示器が接続され、サーボ制御用プロセッサ12には、高速シリアルバスで構成された通信線Lを介してサーボアンプ部20の通信用LSIに接続されている。なお、ROM、RAM等のメモリ、機械の各種アクチュエータやセンサに接続される入出力インタフェース等もバス15に接続されているが、図1では省略している。この制御部の構成は、従来のモータを制御するCNCやロボット制御装置の構成と同一である。
【0008】
サーボアンプ部20には、サーボモータ30に駆動電力を供給するインバータ(図示せず)等のアンプ、通信線Lに接続された通信用LSI21、アナログ/デジタル変換器(A/D変換器)22、サーボモータ30の駆動電流を検出する電流検出器32a、32bで検出されたアナログ信号をサンプルホールドするサンプルホールド回路25a、25b、このサンプルホールド回路25a、25bとA/D変換器22を選択的に接続するアナログスイッチ24a、24b、これらサンプルホールド回路25a、25b、アナログスイッチ24a、24bの動作タイミングを制御するタイミングパルスを生成するタイミング生成回路23を備えている。又、通信用LSI21は、サーボモータ30に取り付けられた該サーボモータの位置・速度を検出する位置速度検出器31と接続され、位置速度検出器31の出力は通信用LSI21及び通信線Lを介して制御部10のサーボ制御用プロセッサにフィードバックされている。
【0009】
以上のサーボアンプ部20の構成は従来と同一であるが、本発明は、さらに、汎用のアナログ入力用のインターフェース回路として、サンプルホールド回路25cとアナログスイッチ24cが追加され、サンプルホールド回路25cには、この制御装置や機械の各種電気機器、電気部材等の被測定回路33の電流、電圧等のアナログ信号を測定するプローブ34接続されている。なお、図1においては、1軸のサーボモータのみを示しているが、制御部10が制御する軸数に応じてサーボアンプ部20、サーボモータ30等は増加するものである。
【0010】
上述したような構成において、制御部10のメインプロセッサ11は、図示しないRAM等のメモリに記憶された機械を制御するプログラムに基づいて、各軸への移動指令を出力し、サーボ制御用プロセッサ12は、この移動指令と位置速度検出器31から、通信用LSI21、通信線Lを介して送られてくるサーボモータ30の位置、速度フィードバック信号、さらに、電流検出器32a、32bで検出され、サンプルホールド回路25a、25b、アナログスイッチ24a、24b、A/D変換器22,通信用LSI、通信線Lを介して送られてくる電流フィードバック信号に基づいて(なお、電流フィードバック信号は、2相分しかフィードバックされないが他の1相は計算によって求められる)、位置、速度、トルク(電流)の少なくとも1つのフィードバック制御を行い、駆動制御信号を通信線L介してサーボアンプ部20の通信用LSI21に送り、インバータ等のアンプを駆動しサーボモータ30を駆動制御する。
【0011】
上述した動作は、従来の動作と同一である。この従来の動作において、電流検出器32a、32bで検出され、サンプルホールド回路25a、25b、アナログスイッチ24a、24b、A/D変換器22,通信用LSI21、通信線Lに電流フィードバック信号を送出する動作は、サーボ制御用プロセッサ11が実行する電流処理の周期の最初の部分で実行される。この最初の期間以外は、A/D変換器22は遊んでいる期間である。
そこで、本発明はこの遊んでいる空き時間を利用して、被測定回路33から測定される汎用アナログ信号をA/D変換し制御部10に送信し、測定データを制御部で収集できるようにしたものである。そして、このデータを制御部10が有する表示器16に表示できるようにしたものである。
【0012】
図2は、この図2に示す実施形態において、電流制御周期毎に実行される電流フィードバックと、被測定回路33から測定された汎用アナログ信号の送受信動作の説明図である。
電流制御周期と同期してタイミング生成回路23から、サンプルホールド信号がサンプルホールド回路25a、25b、25cに出力され、電流検出器35a、35b及びプローブ34で検出されたアナログ信号をサンプルホールドする。図2においては、その後、タイミング生成回路23は順次アナログスイッチ24a、24b、24cをオンとし、サンプルホールド回路25a、25b、25cを順次選択しA/D変換器22に接続する。そして、A/D変換器22は、検出電流値、被測定回路33で測定されたアナログ信号をデジタル信号に順次変換し、通信用LSI21、通信線Lを介してサーボ制御用プロセッサ11に送信する。なお、この実施形態においては、サーボモータ30のR相、S相の電流値が検出されサンプルホールド回路25a、25b、アナログスイッチ24a、24bを介してA/D変換器22に送られるようになっている。又、プローブ34で検出された被測定回路33のアナログ信号はサンプルホールド回路25c、アナログスイッチ24cを介してA/D変換器22に送られるようになっている。
【0013】
サーボ制御用プロセッサ11は、受信した電流データに基づいて従来と同様に電流フィードバック制御を行う。又、受信した汎用アナログ信号データ(プローブで検出された被測定回路で測定されたアナログ信号のデジタル化されたデータ)は、一旦内部RAMに格納する。さらに、このとき、サーボ制御用プロセッサ11が、該プロセッサ11で処理し、取り扱っている位置、速度、トルク(電流)等の各種データの内部情報をこの汎用アナログ信号データと共に対応させて格納する。そして、これのデータはメインプロセッサ11とサーボ制御用プロセッサ12のデータ交換の周期毎(このデータ交換周期は、例えば、電流処理周期の64周期を1周期とし長い)に共有メモリ13に格納される。なお、受信した汎用アナログ信号データや位置、速度、トルク等の取り扱いデータを一旦内部RAMに格納することなく直接共有メモリ13に格納するようにしてもよい。
【0014】
図5は、この共有メモリ13に設けたデータ記憶テーブルTの記憶原理を示す説明図である。汎用アナログ信号データと、このデータを受信したときの位置、速度、トルク等のサーボ制御用プロセッサ12の取り扱いデータは、対応させて記憶される。さらに、メインプロセッサ11は、入出力回路(図示せず)を介して得られる機械を制御するためのデジタル入力、デジタル出力の情報をもこのテーブルTに書き込み、このテーブルTによって制御装置全体の状態を把握できデータを得るようにする。
【0015】
そして、制御装置の入力手段(図示せず)より測定データの表示指令を入力すると、メインプロセッサ11は、共有メモリ13に記憶された被測定回路33から測定されたデータ、即ち、被測定回路33よりプローブ34で測定され、電流周期毎にサンプリングされデジタル化されたアナログ信号データを読み取り、グラフ化して画像情報として、グラフィック制御回路14に渡す。グラフィック制御回路14はこの渡された画像情報に基づいて、LCD又はCRT等で構成される表示器16にこのグラフを表示する。
【0016】
制御装置において、電流制御周期が一番短い。そのため、この電流制御周期毎に被測定回路33よりプローブ34で測定されるアナログ信号をサンプルホールドしてデジタルデータにすれば、短い時間間隔で測定したデータが得られ、精度の高い測定データが得られる。そのため、この測定アナログ信号データをグラフ化して表示器16で表示すれば、精度の高い測定データの時間的変化等を観察することができ、オシロスコープで観察するのと同様の効果が得られる。
【0017】
さらに、上述したように、共有メモリ13には、測定したアナログ信号データ以外にサーボ制御用プロセッサ12が取り扱う位置、速度、トルク(電流)等の各種データが内部情報として記憶されている。又、メインプロセッサ11が機械を制御するデジタル入力、デジタル出力の情報も内部情報として記憶されている。そこで、測定アナログ信号データと共にこの記憶されている位置、速度、トルク(電流)等の各種データ、デジタル入力、デジタル出力の情報の内部情報も同時にグラフ化してグラフィック制御回路14に渡し、表示器16に同時に表示させれることにより、1画面で制御装置及び機械の状態を観察することができる。そのため、測定アナログ信号データからノイズが発生していることが把握されたとき、そのノイズが発生しているときのサーボモータの位置や速度を同時に観察することができるので、オシロスコープでこれらの信号を観察するときと同じ効果、若しくはそれ以上の効果を得ることができる。また、表示されるデータの種類を指定選択できるようにして、必要なデータのみを表示させるようにしてもよい。
【0018】
また、上述した実施形態では、測定アナログ信号データ等を共有メモリ13に設けたテーブルTに循環的に格納することによって常時格納記憶するようにした。しかし、測定アナログ信号データが必要なときのみ、測定指令を出して、測定するようにしてもよく、若しくは、測定データの値が予め設定した値以上になったとき、サーボ制御用プロセッサ12が取り扱う位置、速度、トルク等の各種データやデジタル入力、デジタル出力等の内部情報の内指定したデータが、設定値を越えたとき、設定領域を逸脱したとき等、測定アナログ信号データや内部情報が設定条件を満たしたときこれらのデータを取得し記憶するようにしてもよい。即ち、データ採取のトリガ条件を予め制御装置に設定しておき、メインプロセッサ11若しくはサーボ制御用プロセッサ12は、この設定されたトリガ条件が満足しているか否かを監視し、設定トリガ条件が満足すると、被測定回路33からの測定データ及び上述した内部情報を共有メモリ13に所定量(1回の表示分)格納し、表示器16でグラフ表示するようにしてもよい。さらに、共有メモリ13への測定データの格納、内部情報の格納は循環して常時行い、かつ設定トリガ条件が満たされたとき、このときから以後の記憶データ、又は前後の記憶データ(測定アナログ信号データ、内部情報データ)をグラフ化し表示器16に表示するようにしてもよい。
【0019】
どちらにしても、汎用アナログ入力された測定アナログ信号データの時間的変化をオシロスコープを用いることなく、制御装置の表示器画面でオシロスコープと同様のグラフで確認することができる。そして、必要な内部情報の時間的変化のグラフも重ねて表示することにより信号変化の因果関係を容易に検証することができる。
【0020】
また、上述したように、共有メモリ13には、汎用アナログ入力された測定アナログ信号データの時系列データ及び機械の状態を表す内部情報の時系列データが記憶されるので、解析プログラムをメインプロセッサ11若しくはサーボ制御用プロセッサ11に実行させることによって、データに基づいて機械の状態を自動的に解析させることができる。予め解析プログラムを格納しておき、解析指令を与えることにより、若しくは、機械が非常停止したとき、上述したトリガ条件が満たされたとき等、解析開始するタイミングを任意に入力することによって、または、決められた条件のとき自動的に上記記憶データと解析プログラムに基づいて機械の状態を解析することができる。
【0021】
上述した実施形態は、サーボアンプ内の検出電流、電圧のアナログ信号をデジタル信号に変換するA/D変換器22の動作空き時間を利用して汎用アナログ入力信号を電流制御周期毎A/D変換し測定アナログ信号データを得るものであった。そのため、得られるデータは電流制御周期分時間的に離れた離散データである。そこで、さらに精度のよい測定アナログ信号データを得るために、電流制御周期をさらに分割したサンプリング周期で測定アナログ信号データを得るようにした第2の実施形態を図3、図4に示す。この第2の実施形態では、さらに、インターネットを介して接続された別のネットワーク上のパーソナルコンピュータに出力しグラフ表示をする例を示している。
【0022】
図1に示す第1の実施形態と同等な要素は同一符号を付している。制御部10において、図1に示す第1の実施形態と相違する点は、グラフィック制御回路14の代わりにネットワークインターフェイス17がバス15に接続されている点である。なお、第1の実施形態と同様にこの第2実施形態においても、グラフィック制御回路14もさらにバス15に接続し、表示器16をこのグラフィック制御回路14に接続してもよいことはもちろんである。
【0023】
ネットワークインターフェイス17はインターネット50等を介して別のネットワーク上のパーソナルコンピュータ51と接続可能とし、このパーソナルコンピュータ51の表示器に上述したグラフを表示できるようにしている。
サーボアンプ部20は、従来のサーボアンプ部と同一であり差異はない。即ち、第1の実施形態では、汎用のアナログ入力用のインターフェース回路として、サンプルホールド回路25cとアナログスイッチ24cが従来のサーボアンプ部に追加されていたが、この第2実施形態では、従来のサーボアンプ部に汎用のアナログ入力用のインターフェース回路を追加する代わりに、別に汎用のアナログ入力用のインターフェース回路ユニット40を設け、高速シリアルバスの通信線Lでサーボアンプ部20の通信用LSI21と接続するものである。即ちデイジーチェイン方式で接続するものである。なお、各サーボアンプ部間もデイジーチェイン方式で接続されている。
【0024】
サーボアンプ部20はの第1の実施形態との相違点としては、電流検出器32a、32bに接続されるサンプルホールド回路25a,25bの2つの回路のみとなっている点。及びこのサンプルホールド回路25a,25bをA/D変換器22に接続するアナログスイッチ24a、24bが2つになっている点で相違するのみである。
【0025】
追加した汎用のアナログ入力用のインターフェース回路ユニット40は、通信用LSI41、A/D変換器42、タイミング生成回路43、サンプルホールド回路44で構成され、通信用LSI41はサーボアンプ部21の通信用LSI21に通信線Lで接続されている。サンプルホールド回路44は被測定回路33に流れる電流や電圧等のアナログ信号を測定するプローブ34が接続されている。
【0026】
図4は、この第2の実施形態における測定アナログ信号のデジタル化及び送受のタイミングを示す図である。タイミング生成回路43は、この第2実施形態では電流制御周期と同期し、電流制御周期を4分割して、電流制御周期内に4回のサンプルホールド信号を図4に示すように出力する。A/D変換器42は、電流制御周期内に4回A/D変換し通信用LSI41、通信線L、サーボアンプ部20の通信用LSI21、通信線Lを介して測定アナログ信号データをサーボ制御用プロセッサ12に送る。サーボ制御用プロセッサ12の処理は、前述した第1の実施形態と同一であり、測定アナログ信号データと共にサーボ制御用プロセッサ12が取りと扱う位置、速度、トルク等の内部情報が共有メモリ13のテーブルTに格納される。また、メインプロセッサ11によりデジタル入力、デジタル出力信号データも前述同様に共有メモリ13のテーブルTに格納され、図5に示すようなテーブルTが作成されることになる。このテーブルTを作成するタイミング、トリガ条件等も先に示した第1の実施形態と同様であるので、説明は省略する。
【0027】
こうして、共有メモリ13のテーブルTに格納されたデータは、インターネット50を経由して別のネットワーク上のパーソナルコンピュータ51から呼び出しグラフ表示されることができる。そのため、遠く離れた場所から現場のオペレータに機械、装置の測定個所を明示し、プローブ34で該測定個所(被測定回路33)のアナログ信号を測定できる状態にして、データを収集し、離れた場所のパーソナルコンピュータ51の表示器に、測定データ及び内部情報の時間的変化を示すグラフを表示させることができる。
【0028】
この第2の実施形態の場合、電流制御周期をさらに分割し、測定データを電流制御周期よりも短いサンプリング周期で収集するものであるから、時間的分解能が高いデータを得ることができる。
オシロスコープの場合、時間レンジ、電圧レンジ、トリガ条件などの設定が必要であり、これらの設定は、訓練を受けた技術者しか操作できなかったが、本発明においては、測定個所が分かれば誰でも容易に測定し、測定個所の電流、電圧等のアナログ信号の時間的変化をグラフ表示させることができるものである。
【0029】
上述した各実施形態では、サーボ制御用プロセッサを制御部10に設けた例を示したが、このサーボ制御用プロセッサをサーボアンプ部20側に設け、制御部10のメインプロセッサ11とサーボアンプ部のサーボ制御用プロセッサを高速シリアルバスの信号線で接続するようにしてもよい。
又、上述した実施形態では、機械や装置の電気部材等を被測定回路として、電気アナログ信号の測定に本発明を利用するものであったが、電気信号以外の機械の各種状態を検出しそれを電気信号に変換して、本発明において設けたアナログ信号入力ポートに接続するようにして、電気信号以外の信号をも測定できるようにしてもよい。
【0030】
【発明の効果】
本発明は、電流制御周期以下の短い周期でデータの収集を行うことができるから、制御装置や機械の保守作業、設置、調整、調査等の際、常にオシロスコープを携帯する必要がなく、これの作業が容易に実施できる。更には、上記作業をネットワークを通じて、遠隔地で行うことが可能であるから、設置、調整、保守等のためにサービス員が出張する必要がなくなり、経済的にシステムを援用することができる。又、測定アナログ信号データ及びサーボモータ(該モータで駆動される機械可動部)の位置、速度、トルク等の内部情報が記憶されるので、これらデータに基づいて、自動的に機械、装置の動作状態を解析することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施形態の要部ブロック図である。
【図2】同第1の実施形態における測定アナログ信号データの取得のタイミングを説明する説明図である。
【図3】本発明の第2の実施形態の要部ブロック図である。
【図4】同第2の実施形態における測定アナログ信号データの取得のタイミングを説明する説明図である。
【図5】測定アナログ信号データ、内部情報データを記憶するテーブルの説明図である。
【符号の説明】
10 制御部
20 サーボアンプ部
30 サーボモータ
31 位置・速度検出器
24 アナログスイッチ
25 サンプルホールド回路
33 被測定回路
34 プローブ
40 汎用のアナログ入力用のインターフェース回路ユニット
51 パーソナルコンピュータ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a control device that controls a servo motor as a drive source of a numerical control device, a robot control device, or the like.
[0002]
[Prior art]
In a control device that controls a machine driven by a servo motor such as a numerical control device or a robot control device, each part of the control device, electrical parts of the machine, electrical members, electrical elements, etc. during maintenance and adjustment of the control device and the machine In some cases, it is desirable to investigate and analyze temporal changes in analog signals such as current and voltage flowing through the current. In such a case, it is usually investigated and analyzed using an oscilloscope.
[0003]
[Problems to be solved by the invention]
As described above, if an oscilloscope is not prepared for examining and analyzing analog information of various electric members of the control device and the machine, it is impossible to observe a temporal change of an arbitrary analog signal. However, an oscilloscope is a relatively expensive device, and it has been difficult for service personnel to carry it around.
Therefore, an object of the present invention is to provide a control device that can obtain data for analyzing the state of a device or a machine without preparing an oscilloscope.
Furthermore, the present invention is to provide a control device capable of observing a temporal change of an arbitrary analog signal by using a display included in the control device.
[0004]
[Means for Solving the Problems]
A control unit and a servo amplifier unit for controlling the servo motor are connected, and the control unit and the servo amplifier unit are connected by communication means, and at least one information on the position, speed, or current of the servo motor is obtained. in the control apparatus having a servo control processor for processing the control section, the invention related to the claims 1, an external analog signal input port is provided in the unit leading to the communication unit, processing the position, velocity or current, The analog signal input is converted into digital data by an analog / digital conversion means in a short cycle equal to or shorter than the cycle, and can be sent to the servo control processor.
[0005]
According to a second aspect of the present invention, the unit is a servo amplifier unit, and analog / digital conversion means for converting a current flowing in a servo motor provided in the servo amplifier unit into a digital signal is input from an external analog signal input port. It is used as means for converting an analog signal into a digital signal.
[0006]
The invention according to claim 3 further provides maintenance information by combining data obtained by digitally converting the analog signal received by the servo control processor and various data handled by the servo control processor.
The invention according to claim 4 further displays the maintenance information in a graph on the display means of the control unit.
In the invention according to claim 5, a digital input signal and a digital output signal for the control unit to control the machine are combined as the maintenance information, and the information is also displayed.
In the invention according to claim 6, the trigger condition for displaying the maintenance information can be set, and the function of the oscilloscope is provided by the display means of the control device.
Furthermore, the invention according to claim 7 outputs the maintenance information to the Internet so that the information can be displayed in a graph on an Internet terminal installed at a remote location.
[0007]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a principal block diagram of an embodiment of a control device of the present invention. In this embodiment, the unit of the control unit 10 and the unit of the servo amplifier unit 20 are connected by a communication line L. The control unit 10 is connected to a main processor 11, a servo control processor (digital signal processor) 12, a shared memory 13 that can be accessed by the main processor 11 and the servo control processor 12, a graphic control circuit 14, and the like via a bus 15. Yes. The graphic control circuit 14 is connected to a display device, and the servo control processor 12 is connected to the communication LSI of the servo amplifier section 20 via a communication line L constituted by a high-speed serial bus. A memory such as a ROM and a RAM, an input / output interface connected to various actuators and sensors of the machine are also connected to the bus 15, but are omitted in FIG. The configuration of this control unit is the same as that of a CNC or robot control device that controls a conventional motor.
[0008]
The servo amplifier unit 20 includes an amplifier such as an inverter (not shown) that supplies driving power to the servo motor 30, a communication LSI 21 connected to the communication line L, and an analog / digital converter (A / D converter) 22. The sample and hold circuits 25a and 25b that sample and hold the analog signals detected by the current detectors 32a and 32b that detect the drive current of the servo motor 30 and the sample hold circuits 25a and 25b and the A / D converter 22 are selectively used. The analog switches 24a and 24b connected to the analog switch 24, the sample and hold circuits 25a and 25b, and the timing generation circuit 23 that generates timing pulses for controlling the operation timing of the analog switches 24a and 24b. The communication LSI 21 is connected to a position / speed detector 31 for detecting the position / speed of the servo motor attached to the servo motor 30, and the output of the position / speed detector 31 is transmitted via the communication LSI 21 and the communication line L. And fed back to the servo control processor of the control unit 10.
[0009]
The configuration of the servo amplifier unit 20 described above is the same as the conventional one, but the present invention further includes a sample hold circuit 25c and an analog switch 24c as a general-purpose analog input interface circuit. The controller 34 is connected to a probe 34 for measuring an analog signal such as a current and a voltage of a circuit under measurement 33 such as various electric devices and electric members of the machine. In FIG. 1, only a single-axis servomotor is shown, but the number of servo amplifiers 20, servomotors 30, and the like increase according to the number of axes controlled by the control unit 10.
[0010]
In the configuration as described above, the main processor 11 of the control unit 10 outputs a movement command to each axis based on a program for controlling a machine stored in a memory such as a RAM (not shown), and the servo control processor 12. Is detected by the position and speed feedback signal of the servo motor 30 sent from the movement command and the position / speed detector 31 via the communication LSI 21 and the communication line L, and further detected by the current detectors 32a and 32b. Based on the current feedback signal sent via the hold circuits 25a and 25b, the analog switches 24a and 24b, the A / D converter 22, the communication LSI, and the communication line L (the current feedback signal is for two phases). However, the other phase is calculated by calculation), position, speed, torque (current) is low Both perform one feedback control, feed to the communication LSI21 of servoamplifier 20 through the communication line L the drive control signal, controls the driving of the servo motor 30 to drive the amplifier such as an inverter.
[0011]
The operation described above is the same as the conventional operation. In this conventional operation, current detection signals are detected by the current detectors 32a and 32b, and current feedback signals are sent to the sample and hold circuits 25a and 25b, the analog switches 24a and 24b, the A / D converter 22, the communication LSI 21, and the communication line L. The operation is executed in the first part of the cycle of current processing executed by the servo control processor 11. Other than this initial period, the A / D converter 22 is idle.
Therefore, the present invention uses this idle time so that a general-purpose analog signal measured from the circuit under test 33 is A / D converted and transmitted to the control unit 10 so that measurement data can be collected by the control unit. It is a thing. And this data can be displayed on the display 16 which the control part 10 has.
[0012]
FIG. 2 is an explanatory diagram of current feedback executed for each current control period and a general-purpose analog signal transmission / reception operation measured from the circuit under test 33 in the embodiment shown in FIG.
In synchronization with the current control period, the sample generation signal is output from the timing generation circuit 23 to the sample hold circuits 25a, 25b, and 25c, and the analog signals detected by the current detectors 35a and 35b and the probe 34 are sampled and held. In FIG. 2, thereafter, the timing generation circuit 23 sequentially turns on the analog switches 24 a, 24 b, 24 c, sequentially selects the sample hold circuits 25 a, 25 b, 25 c and connects them to the A / D converter 22. The A / D converter 22 sequentially converts the detected current value and the analog signal measured by the circuit under test 33 into a digital signal, and transmits the digital signal to the servo control processor 11 via the communication LSI 21 and the communication line L. . In this embodiment, the R-phase and S-phase current values of the servo motor 30 are detected and sent to the A / D converter 22 via the sample hold circuits 25a and 25b and the analog switches 24a and 24b. ing. The analog signal of the circuit under test 33 detected by the probe 34 is sent to the A / D converter 22 via the sample hold circuit 25c and the analog switch 24c.
[0013]
The servo control processor 11 performs current feedback control based on the received current data as in the conventional case. The received general-purpose analog signal data (digital data of the analog signal measured by the circuit under test detected by the probe) is temporarily stored in the internal RAM. Further, at this time, the servo control processor 11 stores the internal information of various data such as the position, speed, torque (current), etc. that are processed by the processor 11 in association with the general-purpose analog signal data. The data is stored in the shared memory 13 every data exchange cycle between the main processor 11 and the servo control processor 12 (this data exchange cycle is long, for example, 64 current processing cycles are one cycle). . The received general-purpose analog signal data and handling data such as position, speed, and torque may be directly stored in the shared memory 13 without being temporarily stored in the internal RAM.
[0014]
FIG. 5 is an explanatory diagram showing the storage principle of the data storage table T provided in the shared memory 13. General-purpose analog signal data and handling data of the servo control processor 12 such as position, speed, and torque when this data is received are stored in association with each other. Further, the main processor 11 also writes digital input and digital output information for controlling the machine obtained via an input / output circuit (not shown) into this table T, and this table T is used to indicate the state of the entire control device. To get data.
[0015]
When a display command for measurement data is input from an input means (not shown) of the control device, the main processor 11 receives data measured from the circuit under measurement 33 stored in the shared memory 13, that is, the circuit under measurement 33. The analog signal data measured by the probe 34, sampled at each current cycle and digitized is read, graphed, and passed to the graphic control circuit 14 as image information. Based on the received image information, the graphic control circuit 14 displays this graph on the display 16 constituted by an LCD or CRT.
[0016]
In the control device, the current control cycle is the shortest. Therefore, if the analog signal measured by the probe 34 from the circuit under test 33 is sampled and held into digital data for each current control period to obtain digital data, data measured at short time intervals can be obtained, and highly accurate measurement data can be obtained. It is done. Therefore, if this measurement analog signal data is graphed and displayed on the display 16, it is possible to observe a temporal change or the like of the measurement data with high accuracy, and the same effect as that observed with an oscilloscope can be obtained.
[0017]
Furthermore, as described above, the shared memory 13 stores various data such as position, speed, torque (current), etc. handled by the servo control processor 12 as internal information in addition to the measured analog signal data. In addition, digital input and digital output information that the main processor 11 controls the machine is also stored as internal information. Therefore, the stored analog signal data and various data such as the stored position, speed, torque (current), etc., and the internal information of the digital input and digital output are simultaneously graphed and passed to the graphic control circuit 14 for display 16. Are simultaneously displayed, the state of the control device and the machine can be observed on one screen. For this reason, when it is determined from measurement analog signal data that noise is occurring, the position and speed of the servo motor when the noise is occurring can be observed at the same time. The same effect as when observing or an effect more than that can be obtained. Further, only necessary data may be displayed by selecting and selecting the type of data to be displayed.
[0018]
In the above-described embodiment, the measurement analog signal data and the like are stored and stored constantly by cyclically storing them in the table T provided in the shared memory 13. However, a measurement command may be issued and measured only when measurement analog signal data is necessary, or the servo control processor 12 handles the measurement data when the measurement data value exceeds a preset value. Measurement analog signal data and internal information are set when various data such as position, speed, torque, etc. and specified data among digital information such as digital input and digital output exceed the set value or deviate from the setting area. These data may be acquired and stored when the condition is satisfied. That is, a trigger condition for data collection is set in the control device in advance, and the main processor 11 or the servo control processor 12 monitors whether or not the set trigger condition is satisfied, and the set trigger condition is satisfied. Then, the measurement data from the circuit under test 33 and the above-described internal information may be stored in the shared memory 13 in a predetermined amount (for one display) and displayed on the display 16 as a graph. Further, the measurement data is stored in the shared memory 13 and the internal information is always circulated, and when the set trigger condition is satisfied, the subsequent stored data or the previous and subsequent stored data (measurement analog signal) Data, internal information data) may be graphed and displayed on the display 16.
[0019]
In any case, the time change of the measurement analog signal data inputted with general-purpose analog can be confirmed on the display screen of the control device on the same graph as the oscilloscope without using the oscilloscope. Then, the causal relationship of the signal change can be easily verified by displaying the graph of the necessary internal information over time.
[0020]
Further, as described above, the shared memory 13 stores the time series data of the measurement analog signal data inputted to the general-purpose analog and the time series data of the internal information indicating the state of the machine. Alternatively, the state of the machine can be automatically analyzed based on the data by executing the servo control processor 11. By storing an analysis program in advance and giving an analysis command, or by inputting the timing to start the analysis, such as when the machine is in an emergency stop, or when the trigger condition described above is satisfied, or The machine state can be automatically analyzed based on the stored data and the analysis program under a predetermined condition.
[0021]
In the embodiment described above, the general-purpose analog input signal is A / D converted for each current control period by using the operation idle time of the A / D converter 22 that converts the analog signal of the detected current and voltage in the servo amplifier into a digital signal. Thus, measurement analog signal data was obtained. Therefore, the obtained data is discrete data separated in time by the current control period. Therefore, in order to obtain more accurate measurement analog signal data, FIGS. 3 and 4 show a second embodiment in which measurement analog signal data is obtained at a sampling period obtained by further dividing the current control period. In the second embodiment, an example in which a graph is displayed by outputting to a personal computer on another network connected via the Internet is shown.
[0022]
Elements equivalent to those of the first embodiment shown in FIG. The control unit 10 is different from the first embodiment shown in FIG. 1 in that a network interface 17 is connected to the bus 15 instead of the graphic control circuit 14. As in the first embodiment, the graphic control circuit 14 may be further connected to the bus 15 and the display 16 may be connected to the graphic control circuit 14 in the second embodiment. .
[0023]
The network interface 17 can be connected to a personal computer 51 on another network via the Internet 50 or the like, and the above-described graph can be displayed on the display device of the personal computer 51.
The servo amplifier unit 20 is the same as the conventional servo amplifier unit and there is no difference. That is, in the first embodiment, the sample-and-hold circuit 25c and the analog switch 24c are added to the conventional servo amplifier unit as a general-purpose analog input interface circuit. However, in the second embodiment, a conventional servo Instead of adding a general-purpose analog input interface circuit to the amplifier unit, a general-purpose analog input interface circuit unit 40 is provided and connected to the communication LSI 21 of the servo amplifier unit 20 via the communication line L of the high-speed serial bus. Is. That is, they are connected by a daisy chain method. The servo amplifiers are also connected by a daisy chain method.
[0024]
The difference between the servo amplifier unit 20 and the first embodiment is that there are only two circuits of sample and hold circuits 25a and 25b connected to the current detectors 32a and 32b. The only difference is that there are two analog switches 24a and 24b connecting the sample and hold circuits 25a and 25b to the A / D converter 22.
[0025]
The added general-purpose analog input interface circuit unit 40 includes a communication LSI 41, an A / D converter 42, a timing generation circuit 43, and a sample hold circuit 44, and the communication LSI 41 is a communication LSI 21 of the servo amplifier unit 21. Are connected by a communication line L. The sample hold circuit 44 is connected to a probe 34 for measuring an analog signal such as a current and a voltage flowing in the circuit under test 33.
[0026]
FIG. 4 is a diagram showing the timing of digitization and transmission / reception of the measurement analog signal in the second embodiment. In the second embodiment, the timing generation circuit 43 divides the current control period into four in synchronization with the current control period, and outputs four sample hold signals within the current control period as shown in FIG. The A / D converter 42 performs A / D conversion four times within the current control period, and servo-controls the measurement analog signal data via the communication LSI 41, the communication line L, the communication LSI 21 of the servo amplifier unit 20, and the communication line L. To the processor 12. The processing of the servo control processor 12 is the same as that of the first embodiment described above, and the internal information such as the position, speed, torque and the like handled by the servo control processor 12 together with the measurement analog signal data is stored in the table of the shared memory 13. Stored in T. Further, the digital input and digital output signal data are also stored in the table T of the shared memory 13 by the main processor 11 as described above, and a table T as shown in FIG. 5 is created. Since the timing for creating the table T, the trigger condition, and the like are the same as those in the first embodiment, the description thereof will be omitted.
[0027]
Thus, the data stored in the table T of the shared memory 13 can be called from the personal computer 51 on another network via the Internet 50 and displayed as a graph. For this reason, the measurement location of the machine or device is clearly indicated to a field operator from a remote location, the analog signal of the measurement location (circuit under test 33) can be measured by the probe 34, data is collected, and the remote location A graph showing temporal changes in measurement data and internal information can be displayed on the display of the personal computer 51 at the place.
[0028]
In the case of the second embodiment, since the current control period is further divided and the measurement data is collected at a sampling period shorter than the current control period, data with high temporal resolution can be obtained.
In the case of an oscilloscope, settings such as the time range, voltage range, and trigger conditions are required, and these settings could only be operated by trained technicians. It is possible to easily measure and display a time change of an analog signal such as current and voltage at a measurement point in a graph.
[0029]
In each of the above-described embodiments, an example in which a servo control processor is provided in the control unit 10 has been described. However, this servo control processor is provided on the servo amplifier unit 20 side, and the main processor 11 and the servo amplifier unit of the control unit 10 are provided. The servo control processor may be connected by a signal line of a high-speed serial bus.
In the above-described embodiment, the present invention is used to measure an electrical analog signal using an electrical member of a machine or device as a circuit to be measured, but various states of the machine other than the electrical signal are detected and detected. May be converted into an electrical signal and connected to the analog signal input port provided in the present invention so that signals other than the electrical signal can be measured.
[0030]
【The invention's effect】
Since the present invention can collect data at a short cycle equal to or shorter than the current control cycle, it is not necessary to always carry an oscilloscope when performing maintenance work, installation, adjustment, investigation, etc. of the control device or machine. Work can be performed easily. Furthermore, since it is possible to perform the above work remotely through a network, it is not necessary for a service person to travel for installation, adjustment, maintenance, etc., and the system can be used economically. In addition, measurement analog signal data and internal information such as position, speed, torque, etc. of servo motors (machine moving parts driven by the motors) are stored. Based on these data, machine and device operations are automatically performed. The state can be analyzed.
[Brief description of the drawings]
FIG. 1 is a block diagram of a main part of a first embodiment of the present invention.
FIG. 2 is an explanatory diagram for explaining the timing of acquisition of measurement analog signal data in the first embodiment;
FIG. 3 is a principal block diagram of a second embodiment of the present invention.
FIG. 4 is an explanatory diagram for explaining the timing of acquisition of measurement analog signal data in the second embodiment.
FIG. 5 is an explanatory diagram of a table storing measurement analog signal data and internal information data.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 Control part 20 Servo amplifier part 30 Servo motor 31 Position / speed detector 24 Analog switch 25 Sample hold circuit 33 Circuit to be measured 34 Probe 40 Interface circuit unit 51 for general-purpose analog input Personal computer

Claims (7)

制御部と、サーボモータを制御するためのサーボアンプ部を有し、前記制御部と前記サーボアンプ部の間を通信手段で接続すると共に、前記サーボモータの位置、速度、または電流の内少なくとも1つの情報を処理するサーボ制御用プロセッサを前記制御部に備えた制御装置において、
前記通信手段につながるユニットに外部アナログ信号入力ポートを設け、前記位置、速度、または電流を処理する周期以下の短い周期で該アナログ信号の入力をアナログ/デジタル変換手段でデジタルデータに変換し、前記サーボ制御用プロセッサに送出可能としたことを特徴とする制御装置。
A control unit and a servo amplifier unit for controlling the servo motor; the control unit and the servo amplifier unit are connected by a communication means; and at least one of the position, speed, or current of the servo motor in the control apparatus having a servo control processor to the control unit for processing One information,
An external analog signal input port is provided in a unit connected to the communication means , and the analog signal input is converted into digital data by an analog / digital conversion means in a short cycle equal to or shorter than the cycle for processing the position, speed, or current , A control device characterized by being capable of being sent to a servo control processor.
前記ユニットはサーボアンプ部であり、前記アナログ/デジタル変換手段は、電流検出器で検出されたサーボアンプ部に設けられたサーボモータに流れる電流をデジタル信号に変換するアナログ/デジタル変換手段を用いる請求項1記載の制御装置。The unit is a servo amplifier unit, and the analog / digital conversion unit uses an analog / digital conversion unit that converts a current flowing in a servo motor provided in the servo amplifier unit detected by a current detector into a digital signal. Item 2. The control device according to Item 1. サーボ制御用プロセッサが受けた前記アナログ信号をデジタル変換したデータとサーボ制御用プロセッサが取り扱う各種データを組み合わせて保守情報として提供することを可能とした請求項1又は請求項2記載の制御装置。3. The control device according to claim 1, wherein the data obtained by digitally converting the analog signal received by the servo control processor and various data handled by the servo control processor can be combined and provided as maintenance information. 前記保守情報を前記制御部の表示手段にグラフ表示することを可能とした請求項3記載の制御装置。The control apparatus according to claim 3, wherein the maintenance information can be displayed as a graph on a display unit of the control unit. 前記保守情報として制御部が機械を制御するためのデジタル入力、デジタル出力信号をも組み合わせ表示する請求項4記載の制御装置。5. The control apparatus according to claim 4, wherein the control unit also displays a combination of a digital input and a digital output signal for controlling the machine as the maintenance information. 前記制御部にグラフ表示をするトリガ条件を設定可能にし、設定されたトリガ条件が満たされるとグラフ表示を行う請求項4または請求項5記載の制御装置。The control device according to claim 4 or 5, wherein a trigger condition for displaying a graph on the control unit can be set, and a graph is displayed when the set trigger condition is satisfied. 前記保守情報をインターネットに出力することによって、離れた場所に設置されたインターネット端末上に表示する請求項3乃至5の内1項記載の制御装置。6. The control device according to claim 3, wherein the maintenance information is displayed on an internet terminal installed at a remote location by outputting the maintenance information to the internet.
JP19575399A 1999-07-09 1999-07-09 Control device Expired - Fee Related JP3772052B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19575399A JP3772052B2 (en) 1999-07-09 1999-07-09 Control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19575399A JP3772052B2 (en) 1999-07-09 1999-07-09 Control device

Publications (2)

Publication Number Publication Date
JP2001022419A JP2001022419A (en) 2001-01-26
JP3772052B2 true JP3772052B2 (en) 2006-05-10

Family

ID=16346401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19575399A Expired - Fee Related JP3772052B2 (en) 1999-07-09 1999-07-09 Control device

Country Status (1)

Country Link
JP (1) JP3772052B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10732602B2 (en) 2015-05-12 2020-08-04 Mitsubishi Electric Corporation Numerical control apparatus

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4660058B2 (en) * 2002-09-24 2011-03-30 株式会社東芝 Network information terminal for monitoring and measurement
KR100936380B1 (en) * 2002-12-06 2010-01-13 두산디에스티주식회사 Survo drive Method
JP4688058B2 (en) * 2004-10-13 2011-05-25 株式会社安川電機 Electric motor control device
CN101860123B (en) * 2009-04-13 2012-03-21 中山大洋电机股份有限公司 Motor
KR101562059B1 (en) 2014-04-30 2015-10-20 엘씨 텍(주) Method and apparatus for analyzing feature of servo system
JP6176183B2 (en) * 2014-05-16 2017-08-09 株式会社デンソー AC motor control device
JP6203701B2 (en) 2014-11-13 2017-09-27 東芝機械株式会社 Electric machine and program
EP3605836A4 (en) 2017-03-27 2020-11-11 Kabushiki Kaisha Yaskawa Denki Motor control system and input/output device
JP6737768B2 (en) * 2017-12-18 2020-08-12 ファナック株式会社 Data collection device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10732602B2 (en) 2015-05-12 2020-08-04 Mitsubishi Electric Corporation Numerical control apparatus

Also Published As

Publication number Publication date
JP2001022419A (en) 2001-01-26

Similar Documents

Publication Publication Date Title
US11003162B2 (en) Data collection device
JP3772052B2 (en) Control device
US7603200B2 (en) Method and system for assessing the state of at least one axial joint
US5587635A (en) Robot control apparatus for monitoring load on robot
JP5279655B2 (en) Machine tool control system
US20050278148A1 (en) Method and system for appraising the wear of axes of a robot arm
JP2019135467A (en) Failure diagnosis system
US20070282557A1 (en) Device for observing internal data of control device
KR101986230B1 (en) Diagnostic system for motor of wafer robot
JP6625949B2 (en) High-speed converter, measurement system, and high-speed conversion program
KR100706488B1 (en) Acquisition and Analysis system for real time monitoring welding condition
JPH04279826A (en) Abnormality diagnostic method and device for adjustable speed rotating system
JPH08305990A (en) Display and recording system
CN107615197B (en) Numerical control device
CN108680854B (en) Seat motor self-locking performance detection device
JPS6117209B2 (en)
JP3102486B2 (en) Digital protection relay analyzer
KR100376510B1 (en) Real-time fault diagnosis device of power converter
JP6737128B2 (en) Material testing machine
JP3289494B2 (en) State determination device and method, sensing method, and inspection system for inspected object
US20230258538A1 (en) Synchronization device and storage medium
JPS62278609A (en) Numerical controller
KR20080029455A (en) The system and method for monitoring the overcurrent of direct current motor
KR200224961Y1 (en) Test Equipment for Adjuster Rod Position Indicator Module on Reactor Regulator System
JP2003061379A (en) Frequency characteristic computing device for motor controller

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030107

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060213

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20090217

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100217

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees