JPH04355805A - Learning controller - Google Patents

Learning controller

Info

Publication number
JPH04355805A
JPH04355805A JP15970491A JP15970491A JPH04355805A JP H04355805 A JPH04355805 A JP H04355805A JP 15970491 A JP15970491 A JP 15970491A JP 15970491 A JP15970491 A JP 15970491A JP H04355805 A JPH04355805 A JP H04355805A
Authority
JP
Japan
Prior art keywords
speed command
learning
correction
control device
corrected
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP15970491A
Other languages
Japanese (ja)
Inventor
Yuji Nakamura
裕司 中村
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.)
Yaskawa Electric Corp
Original Assignee
Yaskawa Electric 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 Yaskawa Electric Corp filed Critical Yaskawa Electric Corp
Priority to JP15970491A priority Critical patent/JPH04355805A/en
Publication of JPH04355805A publication Critical patent/JPH04355805A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Position Or Direction (AREA)
  • Control Of Velocity Or Acceleration (AREA)
  • Numerical Control (AREA)
  • Feedback Control In General (AREA)

Abstract

PURPOSE:To eliminate a need of a target position command, a position loop, a manual operation function, etc., in a learning controller applied to the servo system where the repeated operation of a prescribed pattern of a machine tool, a robot, or the like is performed. CONSTITUTION:A learning controller 1 is provided with an operation means which performs corrected operation to output a corrected speed command obtained at the time of learning and uncorrected operation to store an inputted speed command in a memory 4 and to output it as the corrected speed command as it is, a measuring means which measures the dynamic characteristic of a motor control system, an editing means which edits various data and parameters of an external information processor, a mode selecting means which designates arbitrary one of learning, operation, measuring, and editing means, a corrected speed command selecting means which designates arbitrary one of plural corrected speed commands, a correction/non-correction selecting means which designates corrected operation or uncorrected operation, a start means which start learning, operation, and measuring means, and a means which outputs the state of the inside of the learning controller.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、所定パターンの繰り返
し動作をする工作機械、ロボット等の学習制御装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a learning control device for machine tools, robots, etc. that repeatedly perform predetermined patterns of motion.

【0002】0002

【従来の技術】学習制御装置としては、本出願人が先に
出願した特開平2−231602号公報記載のものがあ
る。この装置は、外部の情報処理装置から加工プログラ
ムを入力してメモリに格納しかつ編集する編集モードと
、学習制御によって加工プログラムを補正し、その補正
加工プログラムをメモリに格納する学習モードと、制御
対象の運転モードと、制御対象の手動操作モードを備え
ている学習制御装置であって、前記の各モードのうちの
任意の1つを指定するモード選択手段と、複数の加工プ
ログラムおよび補正加工プログラムのうちの任意の1つ
を指定するプログラム選択手段と、前記学習モードまた
は前記運転モードを起動する起動手段を有し、前記モー
ド選択手段が学習モードを指定した場合において起動手
段が学習モードを起動した時には、学習手段はプログラ
ム選択手段が指定した加工プログラムまたは補正加工プ
ログラムに基づいて、偏差が所定の範囲内に入るまで学
習制御を実行し、前記モード選択手段が運転モードを指
定した場合において起動手段が運転モードを起動した時
には、運転手段はプログラム選択手段が指定した加工プ
ログラムまたは補正加工プログラムを実行するものであ
る。
2. Description of the Related Art As a learning control device, there is one described in Japanese Patent Laid-Open No. 2-231602, which was previously filed by the present applicant. This device has two modes: an edit mode in which a machining program is input from an external information processing device, stored in memory, and edited; a learning mode in which the machining program is corrected by learning control and the corrected machining program is stored in memory; A learning control device comprising a target operation mode and a manual operation mode to be controlled, mode selection means for specifying any one of the modes, and a plurality of machining programs and correction machining programs. and a starting means for starting the learning mode or the driving mode, and when the mode selecting means specifies the learning mode, the starting means starts the learning mode. In this case, the learning means executes learning control based on the machining program or correction machining program specified by the program selection means until the deviation falls within a predetermined range, and starts when the mode selection means specifies the operation mode. When the means starts the operation mode, the operation means executes the machining program or correction machining program specified by the program selection means.

【0003】したがって、この装置では、モード選択手
段とプログラム選択手段の機能の組み合わせにより、多
様な仕様で動作することができ、さらに起動手段によっ
て、学習モードと運転モードを独立に起動することがで
きるので、これらのモードを任意のタイミングで起動す
ることができ、その結果多様な目的に適応することがで
きる。
Therefore, this device can operate with various specifications by combining the functions of the mode selection means and the program selection means, and furthermore, the learning mode and the driving mode can be started independently by the starting means. Therefore, these modes can be activated at any time, and as a result, they can be adapted to various purposes.

【0004】0004

【発明が解決しようとする課題】しかし、この装置では
加工プログラムつまりモータの位置指令を補正している
ため、学習制御による補正演算は位置ループの前段で行
わなければならず、学習装置自体が目標位置指令を取得
し、位置ループを備え、さらに手動操作機能や原点復帰
機能等を有する必要があった。そこで本発明は、その内
部に、目標位置指令や、位置ループや、手動操作機能等
を必要としない学習制御装置を提供することを目的とす
る。
[Problem to be solved by the invention] However, since this device corrects the machining program, that is, the motor position command, the correction calculation by learning control must be performed before the position loop, and the learning device itself It was necessary to obtain position commands, have a position loop, and also have manual operation functions, home return functions, etc. SUMMARY OF THE INVENTION Therefore, an object of the present invention is to provide a learning control device that does not require a target position command, a position loop, a manual operation function, etc. inside the learning control device.

【0005】[0005]

【課題を解決するための手段】上記問題点を解決するた
め、本発明は、同じパターンの目標位置指令に対する追
従動作を繰り返すモータ制御系の位置ループを実行する
位置制御装置と速度制御装置との間に挿入される学習制
御装置において、外部の位置制御装置から現在の位置偏
差を定数倍した速度指令を入力してメモリに格納し、学
習制御によって速度指令を補正して、その補正速度指令
をメモリに格納しかつ外部の速度制御装置へ出力する学
習手段と、速度指令を入力してメモリに格納し、前記補
正計算は行わずに、学習時に得られた補正速度指令を出
力する補正有り運転と、入力した速度指令をメモリに格
納し、かつ、そのまま補正速度指令として出力する補正
無し運転を行う運転手段と、外部からの命令信号により
補正速度指令としてステップ信号を出力し、速度指令を
入力することによりモータ制御系の動特性を測定する測
定手段と、外部の情報処理装置と各種のデータ、パラメ
ータの入出力を行いメモリに格納しかつ編集する編集手
段と、前記学習、運転、測定、編集の各手段の内の任意
の1つを指定するモード選択手段と、複数の補正速度指
令の内の任意の1つを指定する補正速度指令選択手段と
、前記補正有り運転と補正無し運転のいずれかを指定す
る補正有無選択手段と、前記学習、運転、測定を起動す
る起動手段と、学習制御装置内部の状態を出力する手段
を備えたことを特徴とするものである。
[Means for Solving the Problems] In order to solve the above-mentioned problems, the present invention provides a combination of a position control device and a speed control device that executes a position loop of a motor control system that repeats a follow-up operation for the same pattern of target position commands. In the learning control device inserted between the devices, a speed command that is the current position deviation multiplied by a constant is input from an external position control device, stored in memory, corrected by learning control, and then outputs the corrected speed command. A learning means that stores the command in a memory and outputs it to an external speed control device; and an operation with correction that inputs a speed command, stores it in the memory, and outputs the corrected speed command obtained during learning without performing the correction calculation. and an operating means that performs non-correction operation by storing the input speed command in memory and outputting it as a corrected speed command as it is, and outputting a step signal as a corrected speed command by an external command signal and inputting the speed command. a measuring means for measuring the dynamic characteristics of the motor control system by performing the above operations; an editing means for inputting and outputting various data and parameters with an external information processing device and storing and editing them in memory; mode selection means for specifying any one of the editing means; correction speed command selection means for specifying any one of the plurality of correction speed commands; The present invention is characterized in that it includes a correction presence/absence selection means for specifying one of them, a starting means for starting the learning, operation, and measurement, and a means for outputting the internal state of the learning control device.

【0006】[0006]

【作用】上記手段により、位置ループ制御は既存NC装
置を利用して、学習制御装置自体は、目標位置指令を取
得する必要がなく、位置ループや手動操作機能も有せず
に、学習制御によりモータを位置ループ制御器に与えら
れた目標位置指令どおりに動作させることができる。
[Operation] With the above means, the position loop control utilizes the existing NC device, and the learning control device itself does not need to acquire a target position command and does not have a position loop or manual operation function. The motor can be operated according to the target position command given to the position loop controller.

【0007】[0007]

【実施例】以下、本発明を実施例に基づいて具体的に説
明する。図1は本発明の学習制御装置の一実施例のブロ
ック図、図2は本発明の学習制御装置をモータ制御系に
適用した場合の制御系全体のブロック図である。比較の
ため、通常のモータ制御系のブロック図を図9に示す。 図3、図4、図5、図6、図7は、それぞれ図1の装置
の学習時、補正有り運転時、補正無し運転時、測定時、
および、それ以外の時の補正速度指令の出力方法を説明
する概念図である。また、学習による速度指令減少の様
子を図8に示す。
EXAMPLES The present invention will be specifically explained below based on examples. FIG. 1 is a block diagram of an embodiment of the learning control device of the present invention, and FIG. 2 is a block diagram of the entire control system when the learning control device of the present invention is applied to a motor control system. For comparison, a block diagram of a normal motor control system is shown in FIG. 3, FIG. 4, FIG. 5, FIG. 6, and FIG. 7 show the time of learning, operation with correction, operation without correction, and measurement of the device in FIG. 1, respectively.
FIG. 6 is a conceptual diagram illustrating a method of outputting a corrected speed command at other times. Further, FIG. 8 shows how the speed command decreases due to learning.

【0008】本実施例の学習制御装置1は、運転手段、
学習手段、測定手段、編集手段(以下、モード制御手段
と総称する。)、モード選択手段、補正速度指令選択手
段、補正有無選択手段(以下、選択手段と総称する。)
、起動手段、内部状態出力手段、速度指令、補正速度指
令、測定データ、および、各種パラメータを格納するメ
モリを含み、さらにモード制御手段の各々が制御を実行
するために必要な補助的な手段を備えている。  それ
ぞれのモード制御手段は、CPU2がROM3に格納さ
れているプログラムを実行することによって機能する。 変換器8は、パーソナルコンピュータ13とのシリアル
通信用の入出力インタフェイスであり、変換器9、10
はNC装置からの開始地点割り込み信号およびI/O信
号のアイソレーション用である。I/O信号の具体例を
表1に示す。開始地点割り込み信号はCPU2に入力さ
れて、試行を開始するタイミングを制御する(図8参照
)。この割り込み信号は、モータの位置検出器23から
の信号を利用して作っても良いし、他の軸との同期運転
を行う場合には、他軸のモータの位置検出器からの信号
を利用して作っても良い。
The learning control device 1 of this embodiment includes driving means,
Learning means, measuring means, editing means (hereinafter collectively referred to as mode control means), mode selection means, correction speed command selection means, correction presence/absence selection means (hereinafter collectively referred to as selection means).
, a starting means, an internal state output means, a speed command, a corrected speed command, measurement data, and a memory for storing various parameters, and further includes auxiliary means necessary for each mode control means to execute control. We are prepared. Each mode control means functions when the CPU 2 executes a program stored in the ROM 3. Converter 8 is an input/output interface for serial communication with personal computer 13, and converters 9 and 10
is for isolation of the start point interrupt signal and I/O signal from the NC device. Table 1 shows specific examples of I/O signals. The starting point interrupt signal is input to the CPU 2 to control the timing of starting the trial (see FIG. 8). This interrupt signal may be generated using the signal from the motor position detector 23, or when performing synchronized operation with another axis, the signal from the motor position detector of the other axis may be used. You can also make it.

【0009】NC装置11からは、目標位置指令と実際
のモータ位置との偏差を定数倍した値が速度指令として
出力され、この速度指令は、A/D変換器5により学習
制御装置1に入力される。補正速度指令は、D/A変換
器6から出力され外部の速度制御器12へ入力される。 A/D変換器5およびD/A変換器6による入出力のタ
イミングは、タイマー7からCPU2へのタイマー割り
込み信号によって決定される。他の軸と同期運転を行う
場合には、タイマー7からの信号の代わりに外部の他軸
モータの位置検出器からの信号を用いても良い。RAM
4はバッテリバックアップされる不揮発性メモリで、図
3、図4、図5、図6に図示されている、速度指令用メ
モリ30、測定データ用メモリ34、補正速度指令用メ
モリ31、および、その他各種パラメータ用メモリ(図
示せず)を含んでいる。本実施例の速度指令用メモリ3
0と測定データ用メモリ34には、それぞれA/D変換
器5から入力した速度指令と測定データおよびそれらに
関連したパラメータが格納される。補正速度指令用メモ
リ31には、3種類の補正速度指令およびそれぞれに関
連したパラメータが格納される。
The NC device 11 outputs a value obtained by multiplying the deviation between the target position command and the actual motor position by a constant as a speed command, and this speed command is input to the learning control device 1 by the A/D converter 5. be done. The corrected speed command is output from the D/A converter 6 and input to the external speed controller 12. The timing of input/output by the A/D converter 5 and the D/A converter 6 is determined by a timer interrupt signal from the timer 7 to the CPU 2. When performing synchronized operation with other axes, a signal from an external position detector of the other axis motor may be used instead of the signal from the timer 7. RAM
4 is a battery-backed nonvolatile memory, which includes a speed command memory 30, a measurement data memory 34, a correction speed command memory 31, and others shown in FIGS. 3, 4, 5, and 6. It includes memory for various parameters (not shown). Speed command memory 3 of this embodiment
0 and measurement data memory 34 respectively store speed commands and measurement data input from the A/D converter 5 and parameters related thereto. The corrected speed command memory 31 stores three types of corrected speed commands and parameters related to each.

【0010】モード選択、補正速度指令選択、補正有無
選択、および起動は、NC装置からのI/O信号(表1
入力参照)に従って行われる。モード選択手段は、モー
ド指定信号に従って、運転モード、学習モード、測定モ
ード、編集モードのいずれかに設定する。補正速度指令
選択手段は、補正速度指令選択スイッチ32を含み、こ
のスイッチは補正速度選択信号に従って切り換えられる
。内部状態出力手段は、NCへのI/O信号として装置
内部の状態を出力する(表1出力参照)。
Mode selection, correction speed command selection, correction presence/absence selection, and startup are performed using I/O signals from the NC device (Table 1
(see Input). The mode selection means sets one of the driving mode, learning mode, measurement mode, and editing mode according to the mode designation signal. The corrected speed command selection means includes a corrected speed command selection switch 32, which is switched according to the corrected speed selection signal. The internal state output means outputs the internal state of the device as an I/O signal to the NC (see output in Table 1).

【0011】[0011]

【表1】[Table 1]

【0012】本実施例の装置で学習(図3)を行うには
、モード指定信号で学習モードを指定し、補正速度選択
信号で補正速度指令を選択し、起動信号をONする。 この状態で開始地点割り込み信号がCPU2に入力され
ると、試行運転が開始される。速度指令はA/D変換器
5により入力され、速度指令用メモリ30に格納される
。CPU2が学習制御による補正演算33を行い、補正
結果が、指定された補正速度指令用メモリ31に格納さ
れるとともに、D/A変換器6によって出力される。 なお、メモリ31への格納の際に、補正速度選択信号に
従って補正速度指令選択スイッチが切り換えられる。試
行を重ねることにより、速度指令が予め設定した値以下
におさまった時、あるいは、起動信号が0FFされた時
は、学習を終了し図7の状態に戻る。
To perform learning (FIG. 3) with the apparatus of this embodiment, the learning mode is designated with the mode designation signal, the corrected speed command is selected with the corrected speed selection signal, and the start signal is turned ON. When a start point interrupt signal is input to the CPU 2 in this state, a trial run is started. The speed command is inputted by the A/D converter 5 and stored in the speed command memory 30. The CPU 2 performs a correction calculation 33 based on learning control, and the correction result is stored in the specified correction speed command memory 31 and outputted by the D/A converter 6. Note that when storing the data in the memory 31, the correction speed command selection switch is switched in accordance with the correction speed selection signal. Through repeated trials, when the speed command falls below a preset value or when the start signal is turned off, the learning is completed and the state returns to the state shown in FIG. 7.

【0013】補正有り運転(図4)を行うには、モード
指定信号で運転モードを指定し、補正有無選択信号をO
Nにして、補正速度選択信号で補正速度指令を選択し、
起動信号をONする。この状態で開始地点割り込み信号
がCPU2に入力されると、補正有り運転を開始する。 速度指令はA/D変換器5により入力され、速度指令用
メモリ30に格納される。ここでは補正演算は行わず、
学習時にメモリ31に格納された補正速度指令をD/A
変換器6により出力する。起動信号が0FFされた時は
、補正有り運転を終了し図7の状態に戻る。補正無し運
転(図5)を行うには、モード指定信号で運転モードを
指定し、補正有無選択信号をOFFにして、起動信号を
ONする。この状態で開始地点割り込み信号がCPU2
に入力されると、補正無し運転を開始する。速度指令は
A/D変換器5により入力され、速度指令用メモリ30
に格納され、そのままD/A変換器6によって出力され
る。起動信号が0FFされた時は、補正無し運転を終了
し図7の状態に戻る。
To perform operation with correction (FIG. 4), specify the operation mode with the mode designation signal, and turn the correction presence/absence selection signal O.
N, select the correction speed command with the correction speed selection signal,
Turn on the start signal. When the start point interrupt signal is input to the CPU 2 in this state, the operation with correction is started. The speed command is inputted by the A/D converter 5 and stored in the speed command memory 30. No correction calculation is performed here,
D/A corrected speed command stored in memory 31 during learning
The converter 6 outputs the signal. When the start signal is turned OFF, the operation with correction is ended and the state shown in FIG. 7 is returned. To perform the operation without correction (FIG. 5), the operation mode is specified with the mode designation signal, the correction presence/absence selection signal is turned OFF, and the start signal is turned ON. In this state, the start point interrupt signal is
When input to , operation without correction starts. The speed command is inputted by the A/D converter 5, and is stored in the speed command memory 30.
The data are stored in the data and outputted as they are by the D/A converter 6. When the start signal is turned OFF, the non-correction operation is ended and the state shown in FIG. 7 is returned.

【0014】測定(図6)を行うためには、モード指定
信号で測定モードを指定し、起動信号をONすることに
より測定を開始する。ここでは、補正速度指令としてス
テップ指令がD/A変換器6より出力され、その後の速
度指令データがA/D変換器5により入力され、測定デ
ータ用メモリ34に格納される。この測定データは、学
習の際にモータ制御系の動特性情報として利用される。 上記以外の編集時等の時(図7)は、速度指令はA/D
変換器5により入力され、そのままD/A変換器6によ
って出力される。すなわち図9の従来系と同機能となる
。編集モードでは、パーソナルコンピュータからのコマ
ンドに従って、速度指令、補正速度指令、測定データ、
各種パラメータ等の送受信を行う。つまりパーソナルコ
ンピュータにより、これらのデータのモニタリングや変
更ができる。
In order to perform measurement (FIG. 6), the measurement mode is designated by a mode designation signal, and the measurement is started by turning on the start signal. Here, a step command is outputted from the D/A converter 6 as a corrected speed command, and subsequent speed command data is inputted to the A/D converter 5 and stored in the measurement data memory 34. This measurement data is used as dynamic characteristic information of the motor control system during learning. When editing other than the above (Figure 7), the speed command is A/D.
It is inputted by the converter 5 and outputted as it is by the D/A converter 6. In other words, it has the same function as the conventional system shown in FIG. In edit mode, speed commands, corrected speed commands, measured data,
Sends and receives various parameters, etc. This means that personal computers can monitor and change these data.

【0015】また、速度指令の補正演算はモータ動作中
に実時間で行っても良いし、モータ動作中にバックグラ
ンド的に行っても良いし、各試行運転間に休止時間を設
け、その間に次の1試行分の演算をまとめて行っても良
い。なお、休止時間に次の1試行分の補正速度指令を計
算する方式は、まず補正有り運転を行った後、学習計算
信号により1試行分の補正計算を行い、学習中信号がo
ffした後に、再び補正有り運転を行うという操作を繰
り返すことにより実行できる。また、A/D変換器5か
らメモリ30へ、および、メモリ31からD/A変換器
6へのデータ転送を、DMA回路、あるいは、別個の専
用CPUで行うことにより、補正演算33を行うCPU
2の負荷を軽減し、演算時間を短縮することも可能であ
る。
Further, the speed command correction calculation may be performed in real time while the motor is operating, or may be performed in the background while the motor is operating, or a rest period may be provided between each trial operation, and during that time, The calculations for the next one trial may be performed all at once. The method of calculating the corrected speed command for the next trial during the pause time is to first perform operation with correction, then perform the correction calculation for one trial using the learning calculation signal, and then wait until the learning signal is o.
This can be carried out by repeating the operation of performing the operation with correction after ff. In addition, by performing data transfer from the A/D converter 5 to the memory 30 and from the memory 31 to the D/A converter 6 using a DMA circuit or a separate dedicated CPU, the CPU that performs the correction calculation 33
It is also possible to reduce the load of 2 and shorten the calculation time.

【0016】[0016]

【発明の効果】以上述べたように、本発明によれば、位
置ループ制御は既存NC装置を利用して、学習制御装置
自体は、目標位置指令を取得する必要がなく、位置ルー
プや手動操作機能や原点復帰機能も有せずに、学習制御
によりモータを位置ループ制御器に与えられた目標位置
指令どうりに動作させることができ、また、モード選択
手段と補正速度指令選択手段の機能の組み合わせにより
、多様な仕様で動作することができ、さらに、繰り返し
動作を行わない時は速度指令がそのまま速度制御器に入
力されるため、NC装置は、この学習制御装置を意識せ
ずに通常動作を行うことができるという効果がある。
As described above, according to the present invention, the position loop control utilizes the existing NC device, and the learning control device itself does not need to obtain a target position command, and the position loop control and manual operation It is possible to operate the motor according to the target position command given to the position loop controller by learning control without having any function or return-to-origin function. Depending on the combination, it is possible to operate with a variety of specifications.Furthermore, since the speed command is directly input to the speed controller when no repetitive operation is performed, the NC device can operate normally without being aware of this learning control device. It has the effect of being able to do the following.

【図面の簡単な説明】[Brief explanation of drawings]

【図1】本発明の学習制御装置の一実施例のブロック図
FIG. 1 is a block diagram of an embodiment of a learning control device of the present invention.

【図2】本発明の学習制御装置をモータ制御系に適用し
た場合の制御系全体のブロック図
[Figure 2] Block diagram of the entire control system when the learning control device of the present invention is applied to a motor control system

【図3】図1の装置の学習時の補正速度指令の出力方法
を示す図
[Figure 3] A diagram showing a method of outputting a corrected speed command during learning of the device in Figure 1.

【図4】図1の装置の補正有り運転時の補正速度指令の
出力方法を示す図
[Fig. 4] A diagram showing a method of outputting a corrected speed command when the device in Fig. 1 is operated with correction.

【図5】図1の装置の補正無し運転時の補正速度指令の
出力方法を示す図
[Fig. 5] A diagram showing a method of outputting a corrected speed command when the device in Fig. 1 is operated without correction.

【図6】図1の装置の測定時の補正速度指令の出力方法
を示す図
[Figure 6] A diagram showing a method of outputting a corrected speed command during measurement using the device in Figure 1.

【図7】図1の装置の図3から図6で示した以外の時の
補正速度指令の出力方法を示す図
[FIG. 7] A diagram showing a method of outputting a corrected speed command at times other than those shown in FIGS. 3 to 6 for the device in FIG. 1.

【図8】学習による速度指令減少の様子を示す図[Figure 8] Diagram showing how speed command decreases due to learning

【図9
】従来の通常のモータ制御系のブロック図
[Figure 9
]Block diagram of conventional normal motor control system

【符号の説明】[Explanation of symbols]

1  学習制御装置 2  CPU 3  ROM 4  RAM 5  A/D 6  D/A 7  タイマー 8、9、10  変換器 11  NC装置 12  速度制御装置 13  パーソナルコンピュータ 21  モータ 22  速度検出器 23  位置検出器 30、31  メモリ 32  補正速度指令選択スイッチ 33  補正演算 34  メモリ 1 Learning control device 2 CPU 3 ROM 4 RAM 5 A/D 6 D/A 7. Timer 8, 9, 10 converter 11 NC device 12 Speed control device 13 Personal computer 21 Motor 22 Speed detector 23 Position detector 30, 31 Memory 32 Correction speed command selection switch 33 Correction calculation 34 Memory

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】同じパターンの目標位置指令に対する追従
動作を繰り返すモータ制御系の位置ループを実行する位
置制御装置と速度制御装置との間に挿入される学習制御
装置において、外部の位置制御装置から現在の位置偏差
を定数倍した速度指令を入力してメモリに格納し、学習
制御によって速度指令を補正して、その補正速度指令を
メモリに格納しかつ外部の速度制御装置へ出力する学習
手段と、速度指令を入力してメモリに格納し、前記補正
計算は行わずに、学習時に得られた補正速度指令を出力
する補正有り運転と、入力した速度指令をメモリに格納
し、かつ、そのまま補正速度指令として出力する補正無
し運転を行う運転手段と、外部からの命令信号により補
正速度指令としてステップ信号を出力し、速度指令を入
力することによりモータ制御系の動特性を測定する測定
手段と、外部の情報処理装置と各種のデータ、パラメー
タの入出力を行いメモリに格納しかつ編集する編集手段
と、前記学習、運転、測定、編集の各手段の内の任意の
1つを指定するモード選択手段と、複数の補正速度指令
の内の任意の1つを指定する補正速度指令選択手段と、
前記補正有り運転と補正無し運転のいずれかを指定する
補正有無選択手段と、前記学習、運転、測定を起動する
起動手段と、学習制御装置内部の状態を出力する手段を
備えたことを特徴とする学習制御装置。
[Claim 1] A learning control device inserted between a position control device and a speed control device that executes a position loop of a motor control system that repeats a follow-up operation for a target position command of the same pattern. Learning means inputs a speed command obtained by multiplying the current position error by a constant, stores it in the memory, corrects the speed command by learning control, stores the corrected speed command in the memory, and outputs it to an external speed control device. , operation with correction in which a speed command is input and stored in memory and the corrected speed command obtained during learning is output without performing the correction calculation, and operation with correction is performed in which the input speed command is stored in memory and corrected as is. an operating means for performing uncorrected operation outputting as a speed command; a measuring means for outputting a step signal as a corrected speed command based on an external command signal and measuring dynamic characteristics of the motor control system by inputting the speed command; Editing means that inputs and outputs various data and parameters to and from an external information processing device, stores them in memory, and edits them, and mode selection that specifies any one of the learning, operating, measuring, and editing means. correction speed command selection means for specifying any one of the plurality of correction speed commands;
The present invention is characterized by comprising a correction presence/absence selection means for specifying either the operation with correction or the operation without correction, a starting means for starting the learning, operation, and measurement, and means for outputting the internal state of the learning control device. learning control device.
【請求項2】繰り返し動作を開始するタイミングを割り
込み信号として入力する手段を備えていることを特徴と
する請求項1記載の学習制御装置。
2. The learning control device according to claim 1, further comprising means for inputting a timing for starting a repetitive operation as an interrupt signal.
【請求項3】速度指令の補正計算をモータ動作中に実時
間で行う手段と、モータ動作中にバックグランド的に行
う手段と、モータ停止時に1パターン分まとめて行う手
段とのいずれかあるいはすべての手段を備えていること
を特徴とする請求項1または2記載の学習制御装置。
Claim 3: Any or all of the following: means for performing speed command correction calculation in real time while the motor is operating, means for performing the correction calculation in the background during motor operation, and means for performing correction calculation for one pattern at once when the motor is stopped. 3. The learning control device according to claim 1, further comprising means for controlling the learning control device.
【請求項4】学習制御装置内部の状態信号は、1試行分
の速度指令があらかじめ設定された範囲内であることを
知らせる信号、測定完了を知らせる信号、学習制御装置
の異常を知らせる信号、または補正演算中であることを
示す信号のうちの少なくとも一つを含むことを特徴とす
る請求項1、2または3記載の学習制御装置。
4. The state signal inside the learning control device is a signal indicating that the speed command for one trial is within a preset range, a signal indicating completion of measurement, a signal indicating an abnormality in the learning control device, or 4. The learning control device according to claim 1, further comprising at least one signal indicating that a correction calculation is in progress.
JP15970491A 1991-06-03 1991-06-03 Learning controller Pending JPH04355805A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15970491A JPH04355805A (en) 1991-06-03 1991-06-03 Learning controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15970491A JPH04355805A (en) 1991-06-03 1991-06-03 Learning controller

Publications (1)

Publication Number Publication Date
JPH04355805A true JPH04355805A (en) 1992-12-09

Family

ID=15699486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15970491A Pending JPH04355805A (en) 1991-06-03 1991-06-03 Learning controller

Country Status (1)

Country Link
JP (1) JPH04355805A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108000517A (en) * 2016-11-01 2018-05-08 发那科株式会社 Possesses the robot controller of learning control function

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108000517A (en) * 2016-11-01 2018-05-08 发那科株式会社 Possesses the robot controller of learning control function
JP2018069410A (en) * 2016-11-01 2018-05-10 ファナック株式会社 Robot control device having learning control function
US10350749B2 (en) 2016-11-01 2019-07-16 Fanuc Corporation Robot control device having learning control function
DE102017009940B4 (en) * 2016-11-01 2019-10-31 Fanuc Corporation Robot control device with learning control function

Similar Documents

Publication Publication Date Title
JP3671020B2 (en) Numerical controller
JP3665008B2 (en) Synchronization control method and synchronization control apparatus
JPS5856785A (en) Controller for operation of industrial robot
US5298843A (en) Method for restarting punch press machine and numerical controller
CN100354781C (en) Digital controller
KR920004080B1 (en) Numerical control device
JP2662864B2 (en) Industrial robot controller
JPH04355805A (en) Learning controller
JP3244326B2 (en) Numerical control unit
JP2019012472A (en) Numerical control device
WO1988006752A1 (en) Numerical control method capable of variably setting positioning precision
JP4112433B2 (en) Numerical control device for machine tool and numerical control method for machine tool
JPH04217009A (en) Method for teaching work program
JP2005316747A (en) Synchronization controller
US5162714A (en) Numerical control device for transfer machines
JPH09305213A (en) Robot controller
JP2577003B2 (en) Robot control method
JPS63157206A (en) Numerical controller
JP3198256B2 (en) Numerical control unit
JP2006072909A (en) Numeric controller
JP2668876B2 (en) Servo motor controller
JPH01295306A (en) Numerical controller
JPH0887329A (en) Positioning control unit
JPH03189704A (en) Numerical control system
JPH02231602A (en) General-purpose learning control device