JPH01202188A - Characteristic regulator for motor controller - Google Patents

Characteristic regulator for motor controller

Info

Publication number
JPH01202188A
JPH01202188A JP8824488A JP2448888A JPH01202188A JP H01202188 A JPH01202188 A JP H01202188A JP 8824488 A JP8824488 A JP 8824488A JP 2448888 A JP2448888 A JP 2448888A JP H01202188 A JPH01202188 A JP H01202188A
Authority
JP
Japan
Prior art keywords
controller
motor
deviation
control
transmission
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
JP8824488A
Other languages
Japanese (ja)
Inventor
Yasumi Kawabata
康己 川端
Hiroyoshi Suzuki
鈴木 浩佳
Ryoji Mizutani
良治 水谷
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP8824488A priority Critical patent/JPH01202188A/en
Publication of JPH01202188A publication Critical patent/JPH01202188A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Electric Motors In General (AREA)

Abstract

PURPOSE:To simplify the fine regulation of transmitting characteristic and to enhance the production efficiency of a controller by regulating to increase or decrease the transfer function of an arbitrary one of a plurality of transmitters so that a deviation between the control amount and the control data of a motor becomes minimum, matching between the transmitters, and enhancing the controllability as a whole controller. CONSTITUTION:A motor controller has a plurality of transmitters Dn of predetermined transfer function. Deviation calculating means C1 calculates a deviation between the control amount K and control data S of a motor M. Characteristic regulating means C2 regulates to increase or decrease the transfer function of an arbitrary one of a plurality of the transmitters Dn. Regulating transmitter altering means C3 alters the transmitter for regulating to increase or decrease the means C2 from the arbitrary one to other transmitter. Periodic altering means C4 periodically alters the transmitters to be altered by the means Cd until the calculated value of the means C1 becomes a predetermined value or less.

Description

【発明の詳細な説明】 発明の目的 (産業上の利用分野) 本発明は、所定の制御データに従ってモータを制御する
モータ・コントローラ(以下、単にコントローラという
)に接続され、該コントローラ内部にある複数の伝達部
の伝達特性を調整するモータ・コントローラの特性調整
装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Object of the Invention (Industrial Application Field) The present invention relates to a motor controller (hereinafter simply referred to as a controller) that controls a motor according to predetermined control data. The present invention relates to a characteristic adjustment device for a motor controller that adjusts the transmission characteristics of a transmission section.

(従来の技術) 人力に対して忠実に作動し、制御対象を所定の回転数、
位置、速度、角度に制御する制御用のモータが各方面で
利用されている。これらのモータ人力を制御データに従
って調節するものがコントローラであり、個々のモータ
の特性に応じた人力を順次与えることで、モータに一連
の作業を実行させている。例えば、工作機に利用される
コントローラは、更に上位のプログラム・コントローラ
からの指令および制御するモータの特性に応じでモータ
人力を調節し、ツールを所定手順で駆動してワークの加
工などを実行する。
(Prior technology) Operates faithfully to human power and controls the controlled object at a predetermined rotational speed.
Control motors that control position, speed, and angle are used in various fields. The controller adjusts the human power of these motors according to control data, and by sequentially applying human power according to the characteristics of each motor, the motors are made to perform a series of tasks. For example, a controller used in a machine tool adjusts motor power according to commands from a higher-level program controller and the characteristics of the motor being controlled, and drives the tool in a predetermined sequence to process a workpiece. .

この様なコントローラの内部には所定の伝達関数の伝達
部が複数備えられることが通常であり、この複数の伝達
部により制御データを順次伝達して制御対象であるモー
タの操作量、すなわちモータ人力が作成される。従って
複数の伝達部の伝達特性は、モータ人力を決定する際の
重要な要因であり、゛この特性を最適値となるようにコ
ントローラの設計がなされる。
Usually, such a controller is equipped with a plurality of transfer parts with a predetermined transfer function, and these plurality of transfer parts sequentially transmit control data to determine the amount of operation of the motor to be controlled, that is, the motor's human power. is created. Therefore, the transmission characteristics of the plurality of transmission sections are an important factor in determining the motor power, and the controller is designed so that these characteristics are optimized.

しかし、コントローラを構成する電子部品および制御対
象であるモータ特性の公差などにより、実際に製造され
たコントローラあるいはシステムに絹み付けられたコン
トローラは、そのままでは制御対象たるモータを最適に
制御することができず、伝達特性を最終的に微調整する
ことが一般に行われている。このために、コントローラ
には伝達特性を微調節するボリュームなどが備えられて
いる。
However, due to tolerances in the characteristics of the electronic components that make up the controller and the motor that is being controlled, the actually manufactured controller or the controller that is integrated into the system may not be able to optimally control the motor that is being controlled. However, it is common practice to make final fine adjustments to the transfer characteristics. For this purpose, the controller is equipped with a volume for finely adjusting the transfer characteristics.

この様なコントローラの構成により、コントローラと制
御対象であるモータとの整合が當に保たれ、モータに所
定手順の作動を行わせることが可能となる。
With such a configuration of the controller, matching between the controller and the motor to be controlled is maintained, and it becomes possible to cause the motor to operate in a predetermined sequence.

(発明が解決しようとする課題) 従来、コントローラ内部にある伝達部の伝達特性を微調
整する作業は人手により行われている。
(Problems to be Solved by the Invention) Conventionally, fine adjustment of the transmission characteristics of a transmission section inside a controller has been performed manually.

しかし、コントローラ内部に複数の伝達部が存在すると
き、ある伝達部の伝達特性を変更するとその他の伝達部
の伝達特性との相対的な関係が崩れてコントローラ全体
としての制御性が低下することが知られている。
However, when there are multiple transmission sections inside the controller, changing the transmission characteristics of one transmission section may disrupt the relative relationship with the transmission characteristics of other transmission sections, reducing the controllability of the controller as a whole. Are known.

このため、複数の伝達部を有するコントローラの伝達特
性の微調整は、各伝達部の伝達特性の独立的な調整に加
えて、全体的な伝達部の調和を保つためための調整も同
時に実行せねばならず、極めて複雑な作業となっている
。従って、この調整には多大な時間を必要とし、また熟
練を要する作業のため生産効率の向上が困難であった。
Therefore, when fine-tuning the transmission characteristics of a controller that has multiple transmission sections, in addition to adjusting the transmission characteristics of each transmission section independently, adjustments must also be made to maintain the harmony of the overall transmission section. This is an extremely complex task. Therefore, this adjustment requires a lot of time and requires skill, making it difficult to improve production efficiency.

本発明は上記問題点に81みなされたもので、複数の伝
達部を有するコントローラの伝達特性の調・整を完全に
自動化することで生産効率を高め、しかもより高精度に
伝達特性を調整することでコントローラの制御性能を最
大限に引き出すことのできる優れたモータ・コントロー
ラの特性調整装置を提供することを目的としている。
The present invention has been made in view of the above-mentioned problems, and aims to improve production efficiency by completely automating the adjustment and adjustment of the transmission characteristics of a controller having a plurality of transmission parts, and to adjust the transmission characteristics with higher precision. The purpose of this invention is to provide an excellent motor/controller characteristic adjustment device that can maximize the control performance of the controller.

発明の構成 (課題を解決するための手段) 上記目的を達成するために本発明の構成した手段は第1
図の基本的構成図に示すごとく、所定伝達関数の伝達部
りを複数備え、該複数の伝達部Dnにより制御データ5
ti−順次伝達して制御対象であるモータMの人力信号
Hを作成するモータ型コントローラCに接続され、前記
複数の伝達部Dnの伝達特性をそれぞれ調整するモータ
・コントローラの特性調整装置において、前記モータM
の制御量にと制御データSとの偏差を算出する偏差算出
手段C1と、 該偏差算出手段C1の算出値が最小値となるように前記
伝達部Dnの任意の伝達部の伝達関数を増減調整する特
性調整手段C2と、 該特性調整手段C2の増減調整が完了した後、該特性調
整手段C2の増減調整する伝達部を、前記任意の伝達部
から他の伝達部ζこ変更する調整伝達部変更手段C3と
、 前記偏差算出手段C1の算出値が所定値以下となるまで
、前記調整伝達部変更手段C3の変更する伝達部を周期
的に変える周期的変更手段C4と、を備えることを特徴
とするモータ・コントローラの特性調整装置をその要旨
としている。
Structure of the invention (means for solving the problem) The means constituted by the present invention to achieve the above object are the first
As shown in the basic configuration diagram in FIG.
ti- A characteristic adjustment device for a motor controller that is connected to a motor type controller C that sequentially transmits signals to create a human power signal H for a motor M to be controlled, and that adjusts the transmission characteristics of the plurality of transmission sections Dn, respectively. Motor M
a deviation calculation means C1 that calculates the deviation between the control amount and the control data S, and increases or decreases the transfer function of any of the transfer parts Dn so that the calculated value of the deviation calculation means C1 becomes the minimum value. and an adjustment transmission section that changes the transmission section to which the characteristic adjustment means C2 is adjusted to increase or decrease from the arbitrary transmission section to another transmission section after the adjustment of the increase or decrease of the characteristic adjustment means C2 is completed. It is characterized by comprising a changing means C3, and a periodic changing means C4 for periodically changing the transmission section to be changed by the adjustment transmission section changing means C3 until the calculated value of the deviation calculating means C1 becomes equal to or less than a predetermined value. The gist is a motor controller characteristic adjustment device.

(作用) 本発明のモータ・コントローラの特性調整装置はコント
ローラに接続され、下記する作用の各手段によりコント
ローラ内部の複数の伝達部Dnの伝達特性を調整する。
(Function) The motor controller characteristic adjustment device of the present invention is connected to the controller, and adjusts the transmission characteristics of the plurality of transmission sections Dn inside the controller by means of the following functions.

まず特性調整手段C2とは、偏差算出手段C1によって
算出されたモータMの制御量にと制御データSとの偏差
が最小値となるように、伝達部Dnの任意の伝達部の伝
達関数を増減調整するものである。
First, the characteristic adjusting means C2 increases or decreases the transfer function of an arbitrary transmitting part of the transmitting part Dn so that the deviation between the control amount of the motor M calculated by the deviation calculating means C1 and the control data S becomes the minimum value. It is something to be adjusted.

コントローラCの最終的目的は、制御データS゛の指令
に従って、制御対象であるモータMの制御部量K(例え
ば、回転数、回転角度あるいはトルクなど)を制御する
ことである。従フて、この制御量にと制御データSとの
偏差は小さいほどコントローラCとしての制御性能が高
いことを示しており、この偏差を可能な限り小さくする
ように複数の伝達部りの伝達特性が選はれなければなら
ない。
The ultimate purpose of the controller C is to control the control unit quantity K (for example, rotation speed, rotation angle, torque, etc.) of the motor M, which is the controlled object, in accordance with the commands of the control data S'. Therefore, the smaller the deviation between this control amount and the control data S, the higher the control performance of the controller C.The transfer characteristics of the plurality of transmission parts are adjusted to minimize this deviation as much as possible. must be selected.

そこで特性調整手段C2により、複数の伝達部中の任意
の伝達部りについて、偏差を最小とする伝達関数に調整
するのである。
Therefore, the characteristic adjustment means C2 adjusts the transfer function of any one of the plurality of transfer sections to a one that minimizes the deviation.

調整伝達部変更手段C3は、特性調整手段C2によりあ
る1つの伝達部りの増減調整が完了した後に作動を始め
、特性調整手段C2の増減調整する伝達部を、増減調整
を終えた1の伝達部から他の伝達部に変更するよう作用
する。
The adjustment transmission section changing means C3 starts operating after the characteristic adjustment means C2 completes the increase/decrease adjustment of one transmission section, and changes the transmission section to be increased/decreased by the characteristic adjustment means C2 to the one transmission section for which the increase/decrease adjustment has been completed. It acts to change from one section to another transmission section.

前述のごとくコントローラ内部の複数の伝達部は相互に
関連し合っており、特性調整手段C2により一部の伝達
関数を増減調整するとその他の伝達部の伝達特性との相
対的な関係が崩れる。そこで、調整伝達部変更手段C3
により特性調整手段C2の調整する伝達部を他の伝達部
に変更して、伝達部り相互間の整合をとり、コントロー
ラ全体としての制御性を徐々に高めるのである。
As described above, the plurality of transmission sections inside the controller are related to each other, and when the characteristic adjustment means C2 increases or decreases the transfer function of a part, the relative relationship with the transfer characteristics of the other transmission sections collapses. Therefore, the adjustment transmission section changing means C3
Accordingly, the transmission section adjusted by the characteristic adjustment means C2 is changed to another transmission section, and the transmission sections are matched with each other, thereby gradually increasing the controllability of the controller as a whole.

周期的変更手段C4は、(偏差算出手段C1の算出値が
所定値以下となるまで、調整伝達部変更手段C3の変更
する伝達部を周期的に変えるように作用する。すなわち
、調整伝達部変更手段C3の作用により、総ての伝達部
りの伝達関数は特性調整手段C2の増減調整の対象とな
り、伝達部相互の整合は保たれ、ある程度の制御性能は
確保される。しかし、1回の調整ではそれも限度があり
、所期の制御性能にまで達しないことが通常である。
The periodic change means C4 acts to periodically change the transmission part to be changed by the adjustment transmission part change means C3 until the calculated value of the deviation calculation means C1 becomes equal to or less than a predetermined value. Due to the action of the means C3, the transfer functions of all the transmission parts are subject to increase/decrease adjustment by the characteristic adjustment means C2, and mutual matching between the transmission parts is maintained and a certain degree of control performance is ensured. Adjustment also has its limits, and it is common for the desired control performance to not be achieved.

そこで、周期的変更手段C4により一旦調整の完了した
伝達部りを再度調整の対象とし、偏差が許容範囲となる
まで複数の伝達部りの調整を周期的に実行させるのであ
る。
Therefore, the periodic change means C4 makes the transmission part that has been adjusted once again the target of adjustment, and periodically executes adjustment of the plurality of transmission parts until the deviation falls within the permissible range.

以下、本発明をより具体的に説明するために実施例を挙
げて説明する。
EXAMPLES Hereinafter, in order to explain the present invention more specifically, examples will be given and explained.

(実施例) 第2図は、実施例の特性調整装置のハード構成゛図であ
り、コントローラに接続している使用状態を示している
(Example) FIG. 2 is a diagram showing the hardware configuration of a characteristic adjustment device according to an example, and shows a usage state in which it is connected to a controller.

コントローラ10は、構成の簡略化、汎用性を考慮して
図示するようにマイクロコンピュータを中心としたディ
ジタル回路により構成されている。
The controller 10 is constructed of a digital circuit centered on a microcomputer, as shown in the figure, in consideration of the simplification and versatility of the configuration.

すなわち、論理演算を実行するCPU10a、該CPU
10aの実行する各種制御プログラムを不揮発的に記憶
しているROM10b、情報の一時的記憶を実行してC
PU10aの演算を補助するRAM10cおよびこれら
論理回路と他の機器との情報の授受を受は持つ入出カポ
−)10dを主要部としている。
That is, the CPU 10a that executes the logical operation,
A ROM 10b non-volatilely stores various control programs executed by the ROM 10a, and a ROM 10b which temporarily stores information.
The main parts include a RAM 10c that assists the calculations of the PU 10a, and an input/output capacitor 10d that transmits and receives information between these logic circuits and other devices.

コントローラ10のその他の機器としては、人出カポ−
)10dより入力する制鄭信号に従ったPWM信号を出
力するPWM回路10e、そのPWM信号に基づきパワ
ートランジスタにより構成されたパワーアンプ10fを
駆動するプリドライバー10gが設けられている。この
パワーアンプ10fによってPWM制御された三相交流
が制御用モータ20の電機子電流として供給されるため
、制御用モータ20の駆動は人出力ボート10dから出
力される制御信号により、すなわちCPUl0aを中心
とした論理回路により制御されることになる。
Other devices of the controller 10 include
) A PWM circuit 10e that outputs a PWM signal in accordance with a control signal input from 10d, and a predriver 10g that drives a power amplifier 10f constituted by a power transistor based on the PWM signal. Since the three-phase alternating current PWM-controlled by the power amplifier 10f is supplied as the armature current of the control motor 20, the control motor 20 is driven by the control signal output from the human power boat 10d, that is, centered around the CPU l0a. It will be controlled by a logic circuit.

またコントローラ10は、制御用モータ20をより高精
度に安定して制御するため、フィードバック制御方式を
採用している。帰還される制御用モータ20の出力の情
報は、ルミ御用モータ20の発生するトルクを検出する
ために電機子電流値を検出する電流検出コイル22.2
4の検出出力および制御用モータ20の回転軸の回転状
況を検出するエンコーダ26の検出出力である。
Further, the controller 10 employs a feedback control method in order to more accurately and stably control the control motor 20. Information on the output of the control motor 20 that is fed back is sent to the current detection coil 22.2 that detects the armature current value in order to detect the torque generated by the Lumi motor 20.
4 and the detection output of the encoder 26 that detects the rotation status of the rotation shaft of the control motor 20.

制御用モータ20の回転軸は、ワークなどが載置される
テーブル30と螺合するポールネジ32に連結されてい
る。従って、制御用モータ20の回転軸が回転するとボ
ールネジ32が回転し、螺合しているテーブル30を図
面左右方向に移動させることができる。このとき、回転
軸の回転量がテーブル30の移動量に、回転軸の回転速
度がテーブル30の移動速度に対応する。
A rotating shaft of the control motor 20 is connected to a pole screw 32 that is screwed into a table 30 on which a workpiece or the like is placed. Therefore, when the rotation shaft of the control motor 20 rotates, the ball screw 32 rotates, and the screwed table 30 can be moved in the left-right direction in the drawing. At this time, the amount of rotation of the rotating shaft corresponds to the amount of movement of the table 30, and the rotational speed of the rotating shaft corresponds to the moving speed of the table 30.

実施例であるコントローラの特性調整装置5゜も、上記
コントローラ10と同様に構成の簡略化、汎用性および
コントローラ1oとの情報の整合性を考慮して、マイク
ロコンピュータを中心としたディジタル回路により構成
されている。すなわち、論理演算を実行するCPU50
a、該CPU50aの実行する各種制御プログラムを不
揮発的に記憶しているROM50b、情報の一時的記憶
を実行してCPU50aの演算を補助するRAM50C
およびこれら論理回路とコントローラ1oとの情報の授
受を受は持つ人出カポ−)50dにより組み立てられて
いる。
Similarly to the controller 10, the controller characteristic adjusting device 5°, which is an embodiment, is also constructed of a digital circuit centered on a microcomputer, taking into consideration the simplification of the configuration, versatility, and information consistency with the controller 1o. has been done. That is, the CPU 50 that executes logical operations
a, ROM 50b that non-volatilely stores various control programs executed by the CPU 50a; RAM 50C that temporarily stores information to assist the calculations of the CPU 50a;
The controller 1o is assembled by a capo 50d which is responsible for sending and receiving information between these logic circuits and the controller 1o.

以上のように構成されるシステムにおいて、コントロー
ラ10のROM10bには、以下に説明する各種の情報
が記憶されている。
In the system configured as described above, the ROM 10b of the controller 10 stores various information described below.

まず、図示しないその他の工作機器と連動してワークに
所定の加工を施すため、そのワークが載置されるテーブ
ル30をどの様な速度で、どの様に移動させるべきかを
指示する制御手順(以下、制御データDという)が記″
憶されている。
First, in order to perform predetermined machining on a workpiece in conjunction with other machine tools (not shown), a control procedure ( Hereinafter, control data D) is written.
It is remembered.

また、記憶されている上記制御データDに従って制御用
モータ3oを実際に駆動するため、そのデータに示され
た内容に則った制御信号を人出カボート10dから順次
出力するための各種プログラムが記・憶されている。
In addition, in order to actually drive the control motor 3o according to the stored control data D, various programs are written and used to sequentially output control signals from the turnout board 10d in accordance with the contents shown in the data. It is remembered.

公知のように、CPU10aを中心とした論理回路は各
種電子部品の集合体のようなものであり、これらに所定
のプログラムを実行させることで、目的とする各種の電
子回路を構成することができる。
As is well known, the logic circuit centered around the CPU 10a is like a collection of various electronic components, and by having these execute predetermined programs, various desired electronic circuits can be configured. .

ROM10bに記憶されるプログラムのフローチャート
を第3図、第4図および第5図に示している。これらの
プログラムは、コントローラ1゜を含むサーボシステム
の起動がなされたときから繰り返し実行されるものであ
り、第3図の2 m Sec割込みルーチンは2m5e
c毎に、第4図の200、usec割込みルーチンは2
00LLSec毎に、第5図の60uSecルーチンは
60μSeC毎にCPU10aに割込むことで繰り返し
実行される。以下、各別込みルーチンの処理につぃ゛て
説明する。
Flowcharts of the programs stored in the ROM 10b are shown in FIGS. 3, 4, and 5. These programs are repeatedly executed from the time when the servo system including the controller 1° is started, and the 2 m Sec interrupt routine in Fig. 3 is 2 m 5 e.
c, 200 in Figure 4, the usec interrupt routine is 2
Every 00LLSec, the 60uSec routine of FIG. 5 is repeatedly executed by interrupting the CPU 10a every 60μSec. The processing of each separate routine will be explained below.

第3図の2m5ec割込みルーチンの処理が開始される
と、まず現在の制御用モータ3oの駆動状態を検出する
ため、エンコーダ26の検出結果より回転位置Xn(添
え字のnは、経過時間を表している)の検出(ステップ
100)が実行される。そして、この状態の制御用モー
タ3oを次にどの様に駆動すればよいかを指示している
前記制御データDnの読み出しが実行され(ステップ1
10)、これらのデータXn、Dnに基づき制御用モー
タ30の回転位置Xのフィードバック制御系の演算が次
式により実行される(ステップ120)。
When the processing of the 2m5ec interrupt routine in FIG. 3 is started, first, in order to detect the current driving state of the control motor 3o, the rotational position (step 100) is performed. Then, the control data Dn instructing how to drive the control motor 3o in this state is read out (step 1).
10) Based on these data Xn and Dn, the feedback control system calculates the rotational position X of the control motor 30 using the following equation (step 120).

0X=AX (Dn−131◆Xn) すなわち、今回の制御データDnに現在の回転位置Xn
の情報を負帰還するのであり、回転位置の偏差を算出す
るため、制御データDnがら回転位置Xnにフィードバ
ックゲインβ1を乗算した値(β1・Xn)が減算され
、これに増幅度AXを乗算して変数OXとしている。こ
こで増幅度AXとは、予めRAM10cの所定アドレス
に格納された変数であり、比例定数P1および積分定数
11を含む。従って、ステップ120の実行により、回
転位置のPI制御が達成される。
0X=AX (Dn-131◆Xn) In other words, the current rotational position Xn is added to the current control data Dn.
In order to calculate the deviation of the rotational position, the value (β1·Xn) obtained by multiplying the rotational position Xn by the feedback gain β1 is subtracted from the control data Dn, and this is multiplied by the amplification factor AX. It is set as a variable OX. Here, the amplification degree AX is a variable stored in advance at a predetermined address in the RAM 10c, and includes a proportional constant P1 and an integral constant 11. Therefore, by performing step 120, PI control of the rotational position is achieved.

この様にして算出される変数OXは、第4図に示す20
0119ecルーチンにて、次のように利用される。ま
ず、200μSee割込みルーチンでは、制御用モータ
30の駆動状態を検出するためエンコーダ26の検出結
果より回転位置Xnの検出を行い(ステップ200)、
その結果を微分演算して回転速度Vnを算出する(ステ
ップ210)。そして、上記2m5ectJ込みルーチ
ンにて算出される最新の変数Oxの読み込みを実行しく
ステップ220)、これらのデータに基づき次式により
回転速度に対する負帰還の演算が実行される(ステップ
230)。
The variable OX calculated in this way is 20
It is used in the 0119ec routine as follows. First, in the 200μSee interrupt routine, the rotational position Xn is detected from the detection result of the encoder 26 in order to detect the driving state of the control motor 30 (step 200).
The result is differentiated to calculate the rotational speed Vn (step 210). Then, the latest variable Ox calculated in the above-mentioned 2m5ectJ routine is read (step 220), and based on these data, a negative feedback calculation for the rotational speed is performed using the following equation (step 230).

0V=AV (OX−132◆Vn) ここで、β2はフィードバックゲインを衷している。ま
た、AVは比例定数P2および積分定数12を含む増幅
度でPI制御を可能とし、前記変゛数AX同様にRAM
10cの所定アドレスに予め格納されている。
0V=AV (OX-132◆Vn) Here, β2 is the feedback gain. In addition, AV enables PI control with an amplification factor that includes a proportional constant P2 and an integral constant 12, and like the variable AX, RAM
10c is stored in advance at a predetermined address.

更に、この20011Sec割込みルーチンにて算出さ
れる変数OVは第5図の60uSec割込みルーチンに
より利用され、最終的に目的としているPWM回路10
eに出力する制御信号OTの決定がなされる。すなわち
、初めにアナログ情報である電流検出コイル22.24
の検出結果をディジタル情報に変換したトルクTnを算
出して(ステップ300)以下の処理に備える。そして
、上記200μSec割込みルーチンにて算出された最
新の変数Ovの読み込みが実行され(ステップ310)
、変数0■にステップ120にて検出したトルクTnを
負帰還するため、次式による演算が実行され、最終的な
制御信号OTの算出がなされる(ステラ320)。
Furthermore, the variable OV calculated in this 20011Sec interrupt routine is used by the 60uSec interrupt routine in FIG.
The control signal OT to be output to e is determined. That is, first, the current detection coils 22 and 24 which are analog information
The torque Tn is calculated by converting the detection result into digital information (step 300), and preparation is made for the following processing. Then, the latest variable Ov calculated in the above 200 μSec interrupt routine is read (step 310).
, to feed back the torque Tn detected in step 120 to the variable 0■, the following calculation is performed, and the final control signal OT is calculated (Stella 320).

0T=AT (OV−β3・Tn) ここで、β3はフィードバックゲインを衷している。ま
た、ATは比例定数P3および積分定数13を含む増幅
度であり、RAMl0cの所定アドレスに記憶されてい
るものである。
0T=AT (OV-β3·Tn) Here, β3 is the feedback gain. Further, AT is an amplification factor including a proportional constant P3 and an integral constant 13, and is stored at a predetermined address in the RAM 10c.

こうして最終的な制御信号OTが算出されると、この制
御信号OTを人出カポ−)10dからPWM回路10e
に出力しくステップ330)、一連の処理を完了する。
When the final control signal OT is calculated in this way, this control signal OT is transferred from the PWM circuit 10d to the PWM circuit 10e.
Step 330), the series of processing is completed.

上記3つの割込みルーチンによる処理を要約するならば
、制御データDnと現実の制御用モータ30の回転位置
Xnとの偏差が2m5ec毎に検出され、速度の偏差が
200uSeciにおよび電流(トルク)の偏差が60
uSec毎に検出され、これらを最小とするべく制御用
モータ30の電機子電流がPWM制御されるのである。
To summarize the processing by the above three interrupt routines, the deviation between the control data Dn and the actual rotational position Xn of the control motor 30 is detected every 2m5ec, the speed deviation is 200uSeci, and the current (torque) deviation is is 60
It is detected every uSec, and the armature current of the control motor 30 is PWM-controlled to minimize these.

以上のような各種プログラムによりコントローラ10と
して構成される疑似的な電子回路を、視覚的に示した図
が第6図である。上記各種プログラムの実行により、C
PU10aないし入出カポ−)10dにより構成される
論理回路は、図示するように3重のフィードバックルー
プを有するサーボ回路を構成している。
FIG. 6 is a diagram visually showing a pseudo electronic circuit configured as the controller 10 using the various programs described above. By executing the above various programs, C
The logic circuit constituted by the PU 10a or the input/output capo 10d constitutes a servo circuit having a triple feedback loop as shown in the figure.

簡単に説明すると、このサーボ系に指令を与え゛る指令
部40aが、前述した制御手順を記・憶しているROM
10bの記憶領域に相当する。この指令値を段階的に増
幅する位置アンプ40b、速度アンプ40cおよび電流
アンプ40dの増幅度(伝達係数)は、CPU10a内
で実行される論理演算の際の係数に相当し、位置アンプ
40bの増幅度は前述ステップ120の係数AXに、速
度アンプ40cの増幅度は前述ステップ230の係数A
Vに、電流アンプ40dの増幅度は前述ステップ320
の係数ATに相当する。また、このサーボ系の帰還情報
は、前述したごとく電流検出コイル22.24およびエ
ンコーダ26の検出出力であるが、電流検出コイル22
.24の検出出力はアナログ出力であるためA/D変換
器40eによりディジタル情報に変換された後に、所定
のフィードバックゲインβ3を経て電流アンプ40dの
人力に帰還される。またエンコーダ26の検出出力はデ
ィジタル信号であるため、直接フィードバックゲインβ
1を経て位置アンプ40bの人力に帰還され、また微分
因子Sおよびフィードバックゲインβ2を経て速度アン
プ40cの人力に帰還される。
To explain briefly, the command unit 40a that gives commands to this servo system is a ROM that stores the aforementioned control procedure.
This corresponds to the storage area of 10b. The degree of amplification (transfer coefficient) of the position amplifier 40b, speed amplifier 40c, and current amplifier 40d that amplify this command value in stages corresponds to the coefficient in the logical operation executed within the CPU 10a, and the amplification degree of the position amplifier 40b The amplification degree of the speed amplifier 40c is determined by the coefficient AX in step 120, and the amplification degree of the speed amplifier 40c is determined by the coefficient A in step 230.
V, the amplification degree of the current amplifier 40d is set at step 320 described above.
corresponds to the coefficient AT. Further, the feedback information of this servo system is the detection output of the current detection coils 22, 24 and the encoder 26 as described above.
.. Since the detection output 24 is an analog output, it is converted into digital information by the A/D converter 40e, and then fed back to the human power of the current amplifier 40d via a predetermined feedback gain β3. In addition, since the detection output of the encoder 26 is a digital signal, the direct feedback gain β
1, and is fed back to the human power of the position amplifier 40b, and is also fed back to the human power of the speed amplifier 40c, via the differential factor S and feedback gain β2.

以上が論理回路により構成しているコントローラ10の
概略説明である。この様に構成されるコントローラ10
に接続される特性調整装置50は、コントローラ10の
特性調整を必要とするとき、例えばコントローラ10の
セット・アップ時、定量点検時などに第2図に示すよう
に接続されるもので、コントローラ10にダミーの制御
データを与えて作動させたり、コントローラ内部RAM
l0cの所定の記憶領域をコントローラ10の上記作動
に影響を与えることなくアクセスし、その記憶情報を読
み込み、適宜書き換える機能を有する。
The above is a general description of the controller 10 made up of logic circuits. Controller 10 configured like this
The characteristic adjustment device 50 connected to the controller 10 is connected as shown in FIG. You can operate it by giving dummy control data to the controller, or
It has a function of accessing a predetermined storage area of the l0c without affecting the above-mentioned operation of the controller 10, reading the stored information, and rewriting it as appropriate.

上記機能を達成するために、特性調整装置50のR0M
50 bには第7図に示す特性調整ルーチンのプログラ
ムが記憶されている。以下、第7図のフローチャートに
沿って実施例の特性調整装置50の動作につき説明する
In order to achieve the above function, R0M of the characteristic adjustment device 50
50b stores a characteristic adjustment routine program shown in FIG. Hereinafter, the operation of the characteristic adjustment device 50 of the embodiment will be explained along the flowchart of FIG.

特性調整ルーチンは、特性調整装置50の電源が投入さ
れるとCPU50aによって処理を開始゛される。まず
、処理が開始されるとコントローラ10にダミーの制御
データとしてモータ20を一定速度で駆動する制御デー
タを出力し、コントローラ10のCPU 10 aが起
動される(ステップ400)。従って、コントローラ1
0は、この与えられた制御データに忠実な制御(第3図
ないし第5図の処理)を開始し、一定速度でモータ20
を運転する。
The characteristic adjustment routine is started by the CPU 50a when the power of the characteristic adjustment device 50 is turned on. First, when the process is started, control data for driving the motor 20 at a constant speed is output to the controller 10 as dummy control data, and the CPU 10a of the controller 10 is activated (step 400). Therefore, controller 1
0 starts control faithful to the given control data (processing in FIGS. 3 to 5), and motor 20 starts at a constant speed.
drive.

次に、上記のようにして制御を開始したCPU10aの
作動状態が人力される(ステップ410)。通常、CP
U10aを構成するチップは、現在の処理状態がメモリ
ー・アクセス状態であるか、I10アクセス状態あるい
は演算状態であるを示す端子を有するため、この種の端
子の出力を人力することで作動状態の人力が実行される
Next, the operating state of the CPU 10a, which has started control as described above, is manually determined (step 410). Usually, C.P.
The chip that makes up U10a has a terminal that indicates whether the current processing state is the memory access state, the I10 access state, or the calculation state. is executed.

そして、このステップ410で入力したCPU10aの
作動状態から、現在ROM10bおよびRAM10cを
アクセスしているメモリ・アクセス状態であるか否かの
判定がなされる(ステップ420)。この判定処理によ
りメモリ・アクセス状態であると判断されたときには、
特性調整装置50からコントローラ10のROM10b
およびRAM10cをアクセスすることは不可能であり
、メモリが外部よりアクセス可能となる状態まで待機す
る。
Then, based on the operating state of the CPU 10a input in step 410, it is determined whether or not the CPU 10a is currently in a memory access state in which it is accessing the ROM 10b and RAM 10c (step 420). When it is determined that the memory access state is present through this determination process,
From the characteristic adjustment device 50 to the ROM 10b of the controller 10
It is impossible to access the RAM 10c, and the process waits until the memory can be accessed from the outside.

一方、ステップ420の判定によりROM50bおよび
RAM50cがアクセス状態でないと判断されたときは
、ステップ430の情報読み込み処理が実行される。こ
の処理により特性調整装置50因に読み込まれる情報と
は、RAM10cuこ記憶されている次の5つの情報で
ある。第1および第2の情報は、上記制御データDに基
づいて制御されるモータ20の駆動状況を示す電)禿検
出コイル22.24の検出結果およびエンコーダ26の
検出結果である。また、第3ないし第5の情報は、コン
トローラ10の構成する疑似的なアンプ、すなわち位置
アンプ40b5速度アンプ40c、電流アンプ40d(
7)増幅度AX、AV、ATの3つの変数である。
On the other hand, when it is determined in step 420 that the ROM 50b and RAM 50c are not in an access state, the information reading process in step 430 is executed. The information read into the characteristic adjustment device 50 by this process is the following five pieces of information stored in the RAM 10 cu. The first and second information are the detection results of the electric baldness detection coils 22 and 24 and the detection results of the encoder 26, which indicate the driving status of the motor 20 controlled based on the control data D. Further, the third to fifth information are pseudo amplifiers configured by the controller 10, that is, a position amplifier 40b, a speed amplifier 40c, and a current amplifier 40d (
7) Three variables: amplification degree AX, AV, and AT.

コントローラ10の動作説明より明らかなよう゛に、上
記5つの情報はステップ400にてコントローラ10に
与えられた制御データに基づいてコントローラ10およ
びモータ20がどの様に作動したかを衷す諸量であり、
これらの情報を読み込むことで特性調整装置50は、コ
ントローラ10の総合的な評価を下すことができる。
As is clear from the explanation of the operation of the controller 10, the above five pieces of information are various quantities that reflect how the controller 10 and the motor 20 operate based on the control data given to the controller 10 in step 400. can be,
By reading this information, the characteristic adjustment device 50 can make a comprehensive evaluation of the controller 10.

この様な各種情報の読み込みの後には、コントローラ1
0の制御性能を評価するために制御データDと電流検出
コイル22.24の検出結果との比較を行い、その差で
ある偏差DTn (ここで、添字のnは時間経過を表し
ている)の算出を行う(ステップ440)。理想的なコ
ントローラ10の制御性能は、制御の指令値である制御
データと制御の結果とは一致する。しかし、現実には制
御の遅れ、応答性などがあり僅かな差異が存在する。
After reading such various information, controller 1
In order to evaluate the control performance of 0, the control data D and the detection results of the current detection coils 22 and 24 are compared, and the difference between them, the deviation DTn (here, the subscript n represents the elapsed time), is calculated. A calculation is performed (step 440). In the ideal control performance of the controller 10, the control data, which is a control command value, and the control result match. However, in reality, there are slight differences due to control delays, responsiveness, etc.

これが偏差であり、本実施例のコントローラ10はモー
タ20の回転位置、回転速度、トルクをそれぞれ制御の
対象としていることから、偏差もトルク(肩差DT、回
転速度偏差DV、回転位置偏差DXの3種が存在するこ
とになる。
This is the deviation, and since the controller 10 of this embodiment controls the rotational position, rotational speed, and torque of the motor 20, the deviation is also the torque (shoulder difference DT, rotational speed deviation DV, rotational position deviation DX). There will be three types.

なお、このステップ450で算出される偏差DTは、モ
ータ20の発生するトルクと目標値との差であり、60
LLSecルーチン(第5図)のステップ320で?寅
算する(OV−β3・Tn)、すなわち電流アンプ40
d(第6図)の人力に相当する。
Note that the deviation DT calculated in step 450 is the difference between the torque generated by the motor 20 and the target value, and is 60
In step 320 of the LLSec routine (Figure 5)? Calculate (OV-β3・Tn), that is, current amplifier 40
This corresponds to the human power of d (Figure 6).

偏差DTnの算出が終了すると、続いてその偏差DTn
の絶対値が、最小値であるか否かを判定しくステップ4
50)、最小値でなければ60LLSec割込みルーチ
ンにて使用する変数AT、すなわち電流アンプ40dの
増幅度を単調増加あるいは単調減少させて(ステップ4
60)、再度ステップ410の処理へと戻る。すなわち
、コントローラ10内に存在する3つの変数のうち、A
X。
After the calculation of the deviation DTn is completed, the deviation DTn
Step 4: Determine whether the absolute value of is the minimum value.
50), if it is not the minimum value, the variable AT used in the 60LLSec interrupt routine, that is, the amplification degree of the current amplifier 40d, is monotonically increased or decreased (step 4).
60), the process returns to step 410 again. That is, among the three variables existing in the controller 10, A
X.

AVの2つの変数を固定とし、トルクの偏差DTが最小
となるよな変数ATの値を決定するのである。なお、こ
の様にして決定される変数ATの精度は、ステップ46
0にて実行する変数ATの増減量に左右され、かつ最小
値決定までの所要時間に影響を与える。従って、ステッ
プ460により゛実行される変数ATの増減量は、任意
に設定可能とされている。
The two variables AV are fixed, and the value of the variable AT is determined so that the torque deviation DT is minimized. Note that the accuracy of the variable AT determined in this way is determined in step 46.
It depends on the increase/decrease of the variable AT executed at 0, and affects the time required to determine the minimum value. Therefore, the increase/decrease of the variable AT executed in step 460 can be set arbitrarily.

こうして、他の変数AX、AVを固定して変数ATの一
応の最適値が決定されると、次には該変数ATおよびA
Xを固定し、他の変数AVの最適値を検索する処理(ス
テップ500〜ステツプ560)へと進む。
In this way, once the optimum value of the variable AT is determined by fixing the other variables AX and AV, next the variables AT and A are determined.
With X fixed, the process moves on to searching for optimal values for other variables AV (steps 500 to 560).

この処理も、前記変数ATを決定したとほぼ同一の処理
であり、まずモータ10を一定速度で駆動する制御デー
タを出力し、CPU10aを起動させる(ステップ50
0)。そして、コントロールを開始したCPU10aの
動作に悪影響を与えないようにRAM10cの所定アド
レスをアクセスして前記同様の5種の情報を人力する(
ステップ510〜ステツプ530)。
This process is almost the same as that for determining the variable AT, and first outputs control data for driving the motor 10 at a constant speed, and starts the CPU 10a (step 50).
0). Then, in order not to adversely affect the operation of the CPU 10a that started the control, a predetermined address of the RAM 10c is accessed and the same five types of information as described above are manually input (
Steps 510 to 530).

ここでは、こうして得られた情報から回転速度の偏差D
Vnが算出される。この偏差DVnは、制御データとエ
ンコーダ26の検出出力の微分値との差であり、前記2
00uSe’cルーチン(第4図)のステップ230で
演算する(OX−β2・Vn)(i、すなわち速度アン
プ40cの人力に相当するものである。
Here, from the information obtained in this way, the rotation speed deviation D
Vn is calculated. This deviation DVn is the difference between the control data and the differential value of the detection output of the encoder 26, and is the difference between the control data and the differential value of the detection output of the encoder 26.
(OX-β2·Vn)(i, which is calculated in step 230 of the 00uSe'c routine (FIG. 4), corresponds to the human power of the speed amplifier 40c.

次に、こうして算出した偏差DVnが最小値か否かを判
定しくステップ550)、偏差DVの最小値が得られる
まで変数AL すなわち速度アンプ40cの増幅度を微
小値づつ増減して(ステップ560)、上記処理を繰り
返し実行する。
Next, it is determined whether the deviation DVn thus calculated is the minimum value (step 550), and the variable AL, that is, the amplification degree of the speed amplifier 40c is increased or decreased by minute values until the minimum value of the deviation DV is obtained (step 560). , repeat the above process.

この様な処理によって変数AVについても一応の最適値
が定まると、該変数AVおよびATをその最適値に固定
し、最後の変数AXの最適値を検索する同様な処理(ス
テップ600〜660)に移行する。この処理では、コ
ントローラ10に対して出力する制御データの内容が前
述のものと異なっており、モータ20を正方向および逆
方向に加速、定速、減速運転を繰り返す内容となってい
る。この様な制御データを出力し、CPU 10 aを
起動した後には(ステップ600)、前述の処理同様に
CPU10aの動作に影響を与えないようにRAM10
cから所定の5つの情報を人力して(ステップ610〜
ステツプ630)、位置の゛偏差DXnの算出(ステッ
プ640)が実行される。この偏差DXnは、制御デー
タとエンコーダ26の検出出力との差であり、前記2m
5ecルーチン(第3図)のステップ120で演算する
(Dn−β1・Xn)の値、すなわち位置アンプ40b
の人力に相当するものである。
Once the optimal value for the variable AV is determined through such processing, the variables AV and AT are fixed at their optimal values, and a similar process (steps 600 to 660) is performed to search for the optimal value for the final variable AX. Transition. In this process, the contents of the control data output to the controller 10 are different from those described above, and the contents are such that the motor 20 is repeatedly accelerated, constant speed, and decelerated in the forward and reverse directions. After outputting such control data and activating the CPU 10a (step 600), similar to the process described above, the RAM 10 is
Manually input five pieces of predetermined information from c (step 610~
Step 630) and calculation of the positional deviation DXn (step 640) are executed. This deviation DXn is the difference between the control data and the detection output of the encoder 26, and is the difference between the control data and the detection output of the encoder 26, and is
The value of (Dn-β1·Xn) calculated in step 120 of the 5ec routine (Fig. 3), that is, the position amplifier 40b.
This is equivalent to human power.

そして、こうして算出した偏差DXriが最小値か否か
を判定しくステップ650)、偏差DXの最小値が得ら
れるまで変数AX、すなわち位置アンプ40bの増幅度
を微小値づつ増減して(ステップ660)、上記処理を
繰り返し実行する。
Then, it is determined whether the deviation DXri calculated in this way is the minimum value (step 650), and the variable AX, that is, the amplification degree of the position amplifier 40b, is increased or decreased by minute values until the minimum value of the deviation DX is obtained (step 660). , repeat the above process.

以上のステップ400〜ステツプ660まての一連の処
理により変数Aj、AV、AXの一応の最適値が決定さ
れたときには、上記ステップ650の判定によりステッ
プ700が実行される。ここでは、以上のようにして仮
に決定された変数によりコントローラ10に存在する偏
差DT、  DV。
When the optimum values of the variables Aj, AV, and AX have been determined through the series of processes from step 400 to step 660, step 700 is executed based on the determination at step 650. Here, the deviations DT and DV that exist in the controller 10 are determined by the variables tentatively determined as described above.

DXがそれぞれ許容範囲内にあり、コントローラ10の
制御性能が満足すべきものであるか否かを判定する。そ
して、各1肩差が許容範囲内の小さなものであるとき、
特性調整ルーチンの処理を終了する。一方、未だ大きな
偏差が存在し、十分にコントローラ10の特性調整がな
されていないと判断すると処理は最初のステップ400
に戻り上記処理を繰り返し実行してより最適な変数の検
索を行う。
It is determined whether each DX is within an allowable range and the control performance of the controller 10 is satisfactory. And when each shoulder difference is small within the allowable range,
The processing of the characteristic adjustment routine ends. On the other hand, if there is still a large deviation and it is determined that the characteristics of the controller 10 have not been sufficiently adjusted, the process proceeds to the first step 400.
Return to and repeat the above process to search for more optimal variables.

なお、ステップ700にて判断の基準とされる許容範囲
は、判定する1肩差の内容に応じて予めROM50’b
に記・憶されている。例えば、偏差DXであるときには
、許容範囲としてXD[m]が、同様に偏差DVである
ときには許容範囲VD[m/S]が、偏差DTであると
きには許容範囲TD[Kg−mコが使用される。
It should be noted that the tolerance range used as the criterion for judgment in step 700 is set in advance in the ROM 50'b according to the content of the one-shoulder difference to be judged.
remembered. For example, when the deviation is DX, the allowable range is XD [m], when the deviation is DV, the allowable range VD [m/S] is used, and when the deviation is DT, the allowable range TD [Kg-m] is used. Ru.

以上のように構成される本実施例のコントローラ用の特
性調整装置50によれは、次のような効果が明らかであ
る。
The controller characteristic adjusting device 50 of this embodiment configured as described above has the following effects.

第6図の説明図に示すように、コントローラ10には3
つの伝達部を有する。従って、このコントローラ10の
特性、すなわち伝達特性を晶適に調整するには相互に関
係し合っている3つの伝達゛関数の最適値を検索する必
要があり、従来同様に手動による調整では長時間を要す
る。
As shown in the explanatory diagram of FIG.
It has two transmission parts. Therefore, in order to precisely adjust the characteristics, that is, the transfer characteristics, of this controller 10, it is necessary to search for the optimal values of the three interrelated transfer functions, and as in the past, manual adjustment takes a long time. It takes.

しかし、実施例の特性調整装置50によれは、偏差が所
定値以下となる十分な状態に自動的に、しかも短時間の
内に調整することができる。しかも、その調整には何ら
手作業を必要とせず、特性調整を完全に自動化すること
で生産効率が飛躍的に向上する。
However, according to the characteristic adjustment device 50 of the embodiment, it is possible to automatically and within a short time adjust to a sufficient state in which the deviation is equal to or less than a predetermined value. Moreover, the adjustment does not require any manual work, and production efficiency is dramatically improved by completely automating the characteristic adjustment.

また、従来人手によりコントローラ10の調整を行って
いたため、コントローラ10が量産タイプであるときに
は個々のコントローラ間の制御性能に大きなばらつきが
発生し、一定の品質を保つことができなかったが、本実
施例の特性調整装置50を利用することで一定精度のコ
ントローラを多数生産することが可能となる。
In addition, since the controller 10 was conventionally adjusted manually, when the controller 10 was a mass-produced type, there were large variations in control performance between individual controllers, making it impossible to maintain a constant quality. By using the example characteristic adjustment device 50, it is possible to produce a large number of controllers with constant accuracy.

なお、上記実施例の特性調整装置50は、コントローラ
10の変数を調整するに際して第7図に示すごとく最初
に変数AT、次に変数AV、最後に変数AXの順に調整
を行っている。しかし、何らこの様な順番に拘束される
ものではなく、調整の対象としている変数以外の変数を
固定して調整対象の変数の一応の最適値を求める手法を
、他の変数に対しても繰り返し実施するならば、上記実
施例同様の効果が得られる。
In addition, when adjusting the variables of the controller 10, the characteristic adjusting device 50 of the above embodiment first adjusts the variable AT, then the variable AV, and finally the variable AX, as shown in FIG. However, this order is not restricted in any way, and the method of fixing variables other than the variable to be adjusted and finding the optimal value of the variable to be adjusted can be repeated for other variables as well. If carried out, the same effects as in the above embodiment can be obtained.

発明の効果 以上実施例を挙げて詳述したように本発明のモータ・コ
ントローラの特性調整装置は、複数の伝達部を有するモ
ータ・コントローラの伝達特性を、自動的に最適値に調
整する機能を有するものである。
Effects of the Invention As described above in detail with reference to embodiments, the motor/controller characteristic adjusting device of the present invention has a function of automatically adjusting the transmission characteristic of a motor/controller having a plurality of transmission parts to an optimum value. It is something that you have.

従って、複数の伝達部を有するコントローラの生産効率
を高め、しかもより高精度に伝達特性を調整することで
コントローラの制御性能を最大限に引き出すことができ
る。
Therefore, the control performance of the controller can be maximized by increasing the production efficiency of a controller having a plurality of transmission parts and adjusting the transmission characteristics with higher precision.

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

第1図は本発明のモータ・コントローラの特性調整装置
の基本的構成を示す基本構成図、第2図は実施例の特性
調整装置をモータ・コントローラに接続している使用状
態のブロック図、第3図、第4図および第5図はモータ
・コントローラにて゛処理されるプログラムのフローチ
ャート、第6図はそのプログラムの実行により作動する
モータ・コントローラの疑似的な電気回路のブロック図
、第7図は特性調整装置にて処理されるプログラムのフ
ローチャート、を示している。 C1・・・偏差算出手段   C2・・・特性調整手段
C3・・−調整伝達部変更手段 C4・・・周期的変更手段 10a、50a−CPU 10b、50b・・・ROM 10 c、  50 c−・−RAM 10d、50d・・・人出力ボート
FIG. 1 is a basic configuration diagram showing the basic configuration of the characteristic adjustment device for a motor controller according to the present invention, FIG. 3, 4, and 5 are flowcharts of programs processed by the motor controller, FIG. 6 is a block diagram of a pseudo electric circuit of the motor controller operated by execution of the program, and FIG. 7 is a flowchart of a program processed by the motor controller. shows a flowchart of a program processed by the characteristic adjustment device. C1... Deviation calculation means C2... Characteristic adjustment means C3... - Adjustment transmission section changing means C4... Periodic changing means 10a, 50a - CPU 10b, 50b... ROM 10 c, 50 c-. -RAM 10d, 50d...man output boat

Claims (1)

【特許請求の範囲】 1 所定伝達関数の伝達部を複数備え、該複数の伝達部
により制御データを順次伝達して制御対象であるモータ
の入力信号を作成するモータ・コントローラに接続され
、前記複数の伝達部の伝達特性をそれぞれ調整するモー
タ・コントローラの特性調整装置において、 前記モータの制御量と制御データとの偏差を算出する偏
差算出手段と、 該偏差算出手段の算出値が最小値となるように前記伝達
部の任意の伝達部の伝達関数を増減調整する特性調整手
段と、 該特性調整手段の増減調整が完了した後、該特性調整手
段の増減調整する伝達部を、前記任意の伝達部から他の
伝達部に変更する調整伝達部変更手段と、 前記偏差算出手段の算出値が所定値以下となるまで、前
記調整伝達部変更手段の変更する伝達部を周期的に変え
る周期的変更手段と、 を備えることを特徴とするモータ・コントローラの特性
調整装置。
[Scope of Claims] 1. A motor controller comprising a plurality of transfer units having a predetermined transfer function, connected to a motor controller that sequentially transmits control data through the plurality of transfer units to create an input signal for a motor to be controlled; A characteristic adjustment device for a motor/controller that adjusts the transmission characteristics of a transmission unit, comprising: a deviation calculation means for calculating a deviation between a control amount of the motor and control data; and a value calculated by the deviation calculation means is a minimum value. a characteristic adjusting means for increasing/decreasing the transfer function of an arbitrary transmitting section of the transmitting section; adjustment transmission section changing means for changing the transmission section from one transmission section to another, and a periodic change that periodically changes the transmission section to be changed by the adjustment transmission section changing means until the calculated value of the deviation calculation means becomes equal to or less than a predetermined value. A characteristic adjusting device for a motor controller, comprising: means;
JP8824488A 1988-02-04 1988-02-04 Characteristic regulator for motor controller Pending JPH01202188A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8824488A JPH01202188A (en) 1988-02-04 1988-02-04 Characteristic regulator for motor controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8824488A JPH01202188A (en) 1988-02-04 1988-02-04 Characteristic regulator for motor controller

Publications (1)

Publication Number Publication Date
JPH01202188A true JPH01202188A (en) 1989-08-15

Family

ID=12139570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8824488A Pending JPH01202188A (en) 1988-02-04 1988-02-04 Characteristic regulator for motor controller

Country Status (1)

Country Link
JP (1) JPH01202188A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62110491A (en) * 1985-11-07 1987-05-21 Toshiba Corp Speed control device of motor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62110491A (en) * 1985-11-07 1987-05-21 Toshiba Corp Speed control device of motor

Similar Documents

Publication Publication Date Title
US5656906A (en) Automatic adjusting method of servo parameters and automatic adjusting apparatus of the same
CN101261509A (en) Servo controller
EP0012620A2 (en) Closed loop type numerical-controlled machine tool
JPH11305839A (en) Method for controlling plural servo motors
US5986422A (en) Control mode changing over method for servo control system
CN101017367A (en) Controller structure
CN105929791B (en) The direct contour outline control method of plane rectangular coordinates kinematic system
US4750104A (en) Method of and apparatus for tracking position error control
US5027680A (en) Machine tool with two spindles
JPS61163404A (en) Interface system of servocontroller
CN109388099B (en) Machining of workpieces with model-supported error compensation
JPH03289385A (en) Regulating method for gain of motor control
KR920004080B1 (en) Numerical control device
Zhilevski et al. Performance Improvement of a Type of Turning Machines
US6999844B2 (en) Numerical controller
JPH01202188A (en) Characteristic regulator for motor controller
JPH0721724B2 (en) Automatic control device
JPH08263143A (en) Control gain switching system using disturbance observer
JPH11282538A (en) Servo device
JPS63157209A (en) Method and device for feed control of numerically controlled machine tool
JP2570733B2 (en) Servo motor control device
JP2672539B2 (en) Automatic control device
JP2002163006A (en) Controller and method for controlling electric motor
JP3301190B2 (en) Spindle operation switching method
JPS61109647A (en) Feeding speed controller for machine tool